Definitions for Latitude/Longitude format conversions. More...
#include <mi32/mistring.h>#include <mi32/simplear.h>

Go to the source code of this file.
Classes | |
| struct | DMSTYPEANDNAME |
Defines | |
| #define | LIBEXPORT MI_DLLIMPORT |
Enumerations | |
| enum | CONVDMSFLAGS { CONVDMSFLAG_None = 0, CONVDMSFLAG_IN_String = 0x00010000, CONVDMSFLAG_IN_WArray = 0x00020000, CONVDMSFLAG_IN_Double = 0x00040000, CONVDMSFLAG_IN_UseSpaces = 0x00080000, CONVDMSFLAG_OUT_String = 0x01000000, CONVDMSFLAG_OUT_WArray = 0x02000000, CONVDMSFLAG_OUT_Double = 0x04000000, CONVDMSFLAG_OUT_PutSpaces = 0x10000000, CONVDMSFLAG_OUT_IsLatitude = 0x20000000, CONVDMSFLAG_OUT_IsLongitude = 0x00000000, CONVDMSFLAG_OUT_LocalHemisphere = 0x40000000 } |
| enum | DMSTYPE { DMSTYPE_MASK_Components = 0x000F, DMSTYPE_Deg = 0x0001, DMSTYPE_DegMinSec = 0x0002, DMSTYPE_DegMin = 0x0003, DMSTYPE_Sec = 0x0004, DMSTYPE_MinSec = 0x0005, DMSTYPE_Min = 0x0006, DMSTYPE_MASK_Hemisphere = 0x0030, DMSTYPE_DF = 0x0010, DMSTYPE_DB = 0x0020, DMSTYPE_CD = 0x0100, DMSTYPE_CW = 0x0200, DMSTYPE_MASK_Precision = 0xF000, DMSTYPE_0P = 0x0000, DMSTYPE_1P = 0x1000, DMSTYPE_2P = 0x2000, DMSTYPE_3P = 0x3000, DMSTYPE_4P = 0x4000, DMSTYPE_5P = 0x5000, DMSTYPE_6P = 0x6000, DMSTYPE_7P = 0x7000, DMSTYPE_8P = 0x8000, DMSTYPE_9P = 0x9000, DMSTYPE_None = 0, DMSTYPE_DecDeg = DMSTYPE_Deg | DMSTYPE_CD, DMSTYPE_IDecDeg = DMSTYPE_Deg | DMSTYPE_DF | DMSTYPE_CD, DMSTYPE_DDDdddddd = DMSTYPE_Deg | DMSTYPE_CD | DMSTYPE_6P, DMSTYPE_IDDDdddddd = DMSTYPE_Deg | DMSTYPE_DF | DMSTYPE_CD | DMSTYPE_6P, DMSTYPE_DDDMMSS = DMSTYPE_DegMinSec | DMSTYPE_CD | DMSTYPE_CW, DMSTYPE_IDDDMMSS = DMSTYPE_DegMinSec | DMSTYPE_DF | DMSTYPE_CW, DMSTYPE_DDDMMSSI = DMSTYPE_DegMinSec | DMSTYPE_DB | DMSTYPE_CW, DMSTYPE_DDDMMSSS = DMSTYPE_DegMinSec | DMSTYPE_CD | DMSTYPE_1P, DMSTYPE_IDDDMMSSS = DMSTYPE_DegMinSec | DMSTYPE_DF | DMSTYPE_1P, DMSTYPE_DDDMMSSSI = DMSTYPE_DegMinSec | DMSTYPE_DB | DMSTYPE_1P, DMSTYPE_DDDMMSSSS = DMSTYPE_DegMinSec | DMSTYPE_CD | DMSTYPE_2P, DMSTYPE_IDDDMMSSSS = DMSTYPE_DegMinSec | DMSTYPE_DF | DMSTYPE_2P, DMSTYPE_DDDMMSSSSI = DMSTYPE_DegMinSec | DMSTYPE_DB | DMSTYPE_2P, DMSTYPE_DDDMMSSSSS = DMSTYPE_DegMinSec | DMSTYPE_CD | DMSTYPE_3P, DMSTYPE_IDDDMMSSSSS = DMSTYPE_DegMinSec | DMSTYPE_DF | DMSTYPE_3P, DMSTYPE_DDDMMSSSSSI = DMSTYPE_DegMinSec | DMSTYPE_DB | DMSTYPE_3P, DMSTYPE_DDDMMSS_SS = DMSTYPE_DegMinSec | DMSTYPE_2P | DMSTYPE_CD | DMSTYPE_CW, DMSTYPE_IDDDMMSS_SS = DMSTYPE_DegMinSec | DMSTYPE_2P | DMSTYPE_DF | DMSTYPE_CW, DMSTYPE_DDDMMSS_SSI = DMSTYPE_DegMinSec | DMSTYPE_2P | DMSTYPE_DB | DMSTYPE_CW, DMSTYPE_DDDMMSS_sss = DMSTYPE_DegMinSec | DMSTYPE_3P | DMSTYPE_CD | DMSTYPE_CW, DMSTYPE_IDDDMMSS_sss = DMSTYPE_DegMinSec | DMSTYPE_3P | DMSTYPE_DF | DMSTYPE_CW, DMSTYPE_DDDMMSS_sssI = DMSTYPE_DegMinSec | DMSTYPE_3P | DMSTYPE_DB | DMSTYPE_CW, DMSTYPE_DDDMMSS_ssssss = DMSTYPE_DegMinSec | DMSTYPE_6P | DMSTYPE_CD | DMSTYPE_CW, DMSTYPE_IDDDMMSS_ssssss = DMSTYPE_DegMinSec | DMSTYPE_6P | DMSTYPE_DF | DMSTYPE_CW, DMSTYPE_DDDMMSS_ssssssI = DMSTYPE_DegMinSec | DMSTYPE_6P | DMSTYPE_DB | DMSTYPE_CW, DMSTYPE_DDDMM_MM = DMSTYPE_DegMinSec | DMSTYPE_DegMin | DMSTYPE_CD | DMSTYPE_CW, DMSTYPE_IDDDMM_MM = DMSTYPE_DegMinSec | DMSTYPE_DegMin | DMSTYPE_DF | DMSTYPE_CW, DMSTYPE_DDDMM_MMI = DMSTYPE_DegMinSec | DMSTYPE_DegMin | DMSTYPE_DB | DMSTYPE_CW, DMSTYPE_Seconds = DMSTYPE_Sec | DMSTYPE_CD, DMSTYPE_ISeconds = DMSTYPE_Sec | DMSTYPE_DF, DMSTYPE_SecondsI = DMSTYPE_Sec | DMSTYPE_DB } |
Functions | |
| LIBEXPORT void | ConvLatLonToString (double degrees, char *string, DMSTYPE desttype, CONVDMSFLAGS flags, double confidence) |
| LIBEXPORT void | ConvLatLonToString (double degrees, char *string, DMSTYPE desttype, CONVDMSFLAGS flags) |
| double | ConvLatLonValue (double value, DMSTYPE srctype) |
| LIBEXPORT double | ConvLatLonValue (const void *srcbuf, DMSTYPE srctype, void *destbuf, DMSTYPE desttype, CONVDMSFLAGS flags) |
| LIBEXPORT double | ConvStringToLatLon (const char *string, DMSTYPE srctype, CONVDMSFLAGS flags=CONVDMSFLAG_None) |
| LIBEXPORT const char ** | GetLatLonNames (void) |
| LIBEXPORT DMSTYPE | GetLatLonType (int index) |
| LIBEXPORT ERRVALUE | GetLatLonTypeList (SIMPLE_ARRAY< DMSTYPEANDNAME > &types) |
| LIBEXPORT MISTRING | GetLatLonTypeStrAbbr (DMSTYPE type, CONVDMSFLAGS flags=CONVDMSFLAG_OUT_PutSpaces) |
Definitions for Latitude/Longitude format conversions.
| #define LIBEXPORT MI_DLLIMPORT |
| enum CONVDMSFLAGS |
| enum DMSTYPE |
1.6.1