00001
00002
00003 #include "ErrorMessages.h"
00004
00005
00006 using namespace MSP::CCS;
00007
00008
00009 char* ErrorMessages::geoidFileOpenError = "Unable to locate geoid data file\n";
00010 char* ErrorMessages::geoidFileParseError = "Unable to read geoid file\n";
00011
00012 char* ErrorMessages::ellipsoidFileOpenError = "Unable to locate ellipsoid data file: ellips.dat\n";
00013 char* ErrorMessages::ellipsoidFileCloseError = "Unable to close ellipsoid file: ellips.dat\n";
00014 char* ErrorMessages::ellipsoidFileParseError = "Unable to read ellipsoid file: ellips.dat\n";
00015 char* ErrorMessages::ellipsoidOverflow = "Ellipsoid table overflow\n";
00016 char* ErrorMessages::ellipse = "Ellipsoid library not initialized\n";
00017 char* ErrorMessages::invalidEllipsoidCode = "Invalid ellipsoid code\n";
00018
00019 char* ErrorMessages::datumFileOpenError = "Unable to locate datum data file\n";
00020 char* ErrorMessages::datumFileCloseError = "Unable to close datum file\n";
00021 char* ErrorMessages::datumFileParseError = "Unable to read datum file\n";
00022 char* ErrorMessages::datumDomain = "Invalid local datum domain of validity\n";
00023 char* ErrorMessages::datumOverflow = "Datum table overflow";
00024 char* ErrorMessages::datumRotation = "Rotation values must be between -60.0 and 60.0";
00025 char* ErrorMessages::datumSigma = "Standard error values must be positive, or -1 if unknown\n";
00026 char* ErrorMessages::datumType = "Invalid datum type\n";
00027 char* ErrorMessages::invalidDatumCode = "Invalid datum code\n";
00028
00029 char* ErrorMessages::notUserDefined = "Specified code not user defined\n";
00030 char* ErrorMessages::ellipseInUse = "Ellipsoid is in use by a datum\n";
00031
00032
00033 char* ErrorMessages::semiMajorAxis = "Ellipsoid semi-major axis must be greater than zero\n";
00034 char* ErrorMessages::ellipsoidFlattening = "Inverse flattening must be between 250 and 350\n";
00035 char* ErrorMessages::orientation = "Orientation out of range\n";
00036 char* ErrorMessages::originLatitude = "Origin Latitude (or Standard Parallel or Latitude of True Scale) out of range\n";
00037 char* ErrorMessages::originLongitude = "Origin Longitude (or Longitude Down from Pole) out of range\n";
00038 char* ErrorMessages::centralMeridian = "Central Meridian out of range\n";
00039 char* ErrorMessages::scaleFactor = "Scale Factor out of range\n";
00040 char* ErrorMessages::zone = "Invalid Zone\n";
00041 char* ErrorMessages::zoneOverride = "Invalid Zone Override\n";
00042 char* ErrorMessages::standardParallel1 = "Invalid 1st Standard Parallel\n";
00043 char* ErrorMessages::standardParallel2 = "Invalid 2nd Standard Parallel\n";
00044 char* ErrorMessages::standardParallel1_2 = "1st & 2nd Standard Parallels cannot both be zero\n";
00045 char* ErrorMessages::standardParallelHemisphere = "Standard Parallels cannot be equal and opposite latitudes\n";
00046 char* ErrorMessages::precision = "Precision must be between 0 and 5\n";
00047 char* ErrorMessages::bngEllipsoid = "British National Grid ellipsoid must be Airy\n";
00048 char* ErrorMessages::nzmgEllipsoid = "New Zealand Map Grid ellipsoid must be International\n";
00049 char* ErrorMessages::latitude1 = "Latitude 1 out of range\n";
00050 char* ErrorMessages::latitude2 = "Latitude 2 out of range\n";
00051 char* ErrorMessages::latitude1_2 = "Latitude 1 and Latitude 2 cannot be equal\n";
00052 char* ErrorMessages::longitude1 = "Longitude 1 out of range\n";
00053 char* ErrorMessages::longitude2 = "Longitude 2 out of range\n";
00054 char* ErrorMessages::omercHemisphere = "Point 1 and Point 2 cannot be in different hemispheres\n";
00055 char* ErrorMessages::hemisphere = "Invalid Hemisphere\n";
00056 char* ErrorMessages::radius = "Easting/Northing too far from center of projection\n";
00057
00058
00059
00060 char* ErrorMessages::latitude = "Latitude out of range\n";
00061 char* ErrorMessages::longitude = "Longitude out of range\n";
00062 char* ErrorMessages::easting = "Easting/X out of range\n";
00063 char* ErrorMessages::northing = "Northing/Y out of range\n";
00064 char* ErrorMessages::projection = "Point projects into a circle\n";
00065 char* ErrorMessages::invalidArea = "Coordinates are outside valid area\n";
00066 char* ErrorMessages::bngString = "Invalid British National Grid String\n";
00067 char* ErrorMessages::garsString = "Invalid GARS String\n";
00068 char* ErrorMessages::georefString = "Invalid GEOREF String\n";
00069 char* ErrorMessages::mgrsString = "Invalid MGRS String\n";
00070 char* ErrorMessages::usngString = "Invalid USNG String\n";
00071
00072 char* ErrorMessages::invalidIndex = "Index value outside of valid range\n";
00073 char* ErrorMessages::invalidName = "Invalid name\n";
00074 char* ErrorMessages::invalidType = "Invalid coordinate system type\n";
00075
00076 char* ErrorMessages::longitude_min = "The longitude minute part of the string is greater than 60\n";
00077 char* ErrorMessages::latitude_min = "The latitude minute part of the string is greater than 60\n";
00078
00079