84 #define OSSIM_MGRS_NO_ERROR 0x0000 85 #define OSSIM_MGRS_LAT_ERROR 0x0001 86 #define OSSIM_MGRS_LON_ERROR 0x0002 87 #define OSSIM_MGRS_STRING_ERROR 0x0004 88 #define OSSIM_MGRS_PRECISION_ERROR 0x0008 89 #define OSSIM_MGRS_A_ERROR 0x0010 90 #define OSSIM_MGRS_INV_F_ERROR 0x0020 91 #define OSSIM_MGRS_EASTING_ERROR 0x0040 92 #define OSSIM_MGRS_NORTHING_ERROR 0x0080 93 #define OSSIM_MGRS_ZONE_ERROR 0x0100 94 #define OSSIM_MGRS_HEMISPHERE_ERROR 0x0200 110 const char* Ellipsoid_Code);
124 char *Ellipsoid_Code);
OSSIM_DLL void Get_OSSIM_MGRS_Parameters(double *a, double *f, char *Ellipsoid_Code)
OSSIM_DLL long Convert_UTM_To_OSSIM_MGRS(long Zone, char Hemisphere, double Easting, double Northing, long Precision, char *MGRS)
OSSIM_DLL long Convert_Geodetic_To_OSSIM_MGRS(double Latitude, double Longitude, long Precision, char *MGRS)
OSSIM_DLL long Convert_UPS_To_OSSIM_MGRS(char Hemisphere, double Easting, double Northing, long Precision, char *MGRS)
OSSIM_DLL long Convert_OSSIM_MGRS_To_Geodetic(const char *MGRS, double *Latitude, double *Longitude)
OSSIM_DLL long Set_OSSIM_MGRS_Parameters(double a, double f, const char *Ellipsoid_Code)
OSSIM_DLL long Convert_OSSIM_MGRS_To_UTM(const char *MGRS, long *Zone, char *Hemisphere, double *Easting, double *Northing)
OSSIM_DLL long Convert_OSSIM_MGRS_To_UPS(const char *MGRS, char *Hemisphere, double *Easting, double *Northing)