MapGuide API Reference
|
Supports the creation of MgCoordinateSystem objects based on a OpenGIS Well-Known Text (WKT) definition of the coordinate system. This class is the main entry point for accessing assorted classes and functionalities of the Coordinate System API. More...
Public Member Functions | |
virtual STRING | ConvertCoordinateSystemCodeToWkt (CREFSTRING code) |
Gets the matching coordinate system WKT based on the specified CS-Map coordinate system code. | |
virtual STRING | ConvertEpsgCodeToWkt (INT32 code) |
Gets the matching coordinate system WKT based on the specified EPSG code. | |
virtual STRING | ConvertWktToCoordinateSystemCode (CREFSTRING wkt) |
Gets the matching CS-Map coordinate system code based on the specified coordinate system WKT text. See WKT of Spatial Reference System . | |
virtual INT32 | ConvertWktToEpsgCode (CREFSTRING wkt) |
Gets the matching EPSG code based on the specified coordinate system WKT. | |
virtual MgCoordinateSystem * | Create (CREFSTRING wkt) |
Creates an MgCoordinateSystem instance given a definition of the coordinate system in OpenGIS Well-Known Text (WKT) format. See WKT of Spatial Reference System and Coordinate System Test Values . | |
virtual MgCoordinateSystem * | CreateFromCode (CREFSTRING code) |
Creates a MgCoordinateSystem object from the specified CS-Map coordinate system code. | |
virtual MgStringCollection * | EnumerateCategories () |
Returns a list of the available coordinate system categories. | |
virtual MgBatchPropertyCollection * | EnumerateCoordinateSystems (CREFSTRING category) |
Returns a MgBatchPropertyCollection containing the properties of each coordinate system under the specified category. | |
virtual MgCoordinateSystemGridBase * | GenericGrid (CREFSTRING sGridCs, CREFSTRING sFrameCs, bool bSetExceptionsOn) |
Manufactures generic grid object. A generic grid is one which simply draws isolines of one coordinate system (the Grid coordinate system) into the drawing space of another (the frame system). | |
virtual MgCoordinateSystemGridBase * | GenericGrid (MgCoordinateSystem *pGridCs, MgCoordinateSystem *pFrameCs, bool bSetExceptionsOn) |
Manufactures generic grid object. A generic grid is one which simply draws isolines of one coordinate system (the Grid coordinate system) into the drawing space of another (the frame system). | |
virtual STRING | GetBaseLibrary () |
Gets name of the underlying coordinate system library. | |
virtual MgCoordinateSystemCatalog * | GetCatalog () |
Gets the coordinate system catalog. | |
virtual MgCoordinateSystemMgrs * | GetMgrs (double dEquatorialRadius, double dEccentricity, INT8 nLetteringScheme, bool bSetExceptionsOn) |
Manufactures an MGRS grid object. The returned object is suitable only for use in simple coordinate <-> MGRS string calculations. | |
virtual MgCoordinateSystemMgrs * | GetMgrsDatum (CREFSTRING sDatumCode, INT8 nLetteringScheme, bool bSetExceptionsOn) |
Manufactures an MGRS grid object. The returned object is suitable only for use in simple coordinate <-> MGRS string calculations. | |
virtual MgCoordinateSystemMgrs * | GetMgrsEllipsoid (CREFSTRING sEllipsoidCode, INT8 nLetteringScheme, bool bSetExceptionsOn) |
Manufactures an MGRS grid object. The returned object is suitable only for use in simple coordinate <-> MGRS string calculations. | |
virtual MgCoordinateSystemTransform * | GetTransform (MgCoordinateSystem *pSource, MgCoordinateSystem *pTarget) |
Constructs a MgCoordinateSystemTransform that can be used to transform coordinates from the source coordinate system to the target coordinate system. | |
virtual MgCoordinateSystemGridBoundary * | GridBoundary (MgCoordinate *southwest, MgCoordinate *northeast) |
Constructs a grid boundary object. | |
virtual MgCoordinateSystemGridBoundary * | GridBoundary (MgPolygon *boundary) |
Constructs a grid boundary object. Externally, grid objects are in viewport coordinates and define the extents of the region within which a grid is to be drawn. Such objects are often simple rectangles, but his is not a requirement. | |
virtual MgCoordinateSystemGridSpecification * | GridSpecification (void) |
Constructs a grid specification object with all specifications set to invalid values. | |
virtual MgCoordinateSystemGridSpecification * | GridSpecification (double increment, double tickIncrement, INT32 unitCode, double curvePrecision) |
Constructs a grid specification object with all specifications set to the values indicated by the supplied parameters. | |
virtual MgCoordinateSystemGridSpecification * | GridSpecification (INT32 gridType, INT32 gridLevel) |
Constructs a grid specification object with all specifications set to the values indicated by the supplied parameters. | |
virtual bool | IsValid (CREFSTRING wkt) |
Gets whether the specified coordinate system WKT string is a valid one. | |
MgCoordinateSystemFactory () | |
Constructs an MgCoordinateSystemFactory object. | |
virtual MgCoordinateSystemGridBase * | MgrsGrid (MgCoordinateSystem *pFrameCs, bool bUseFrameDatum, INT8 nLetteringScheme, bool bSetExceptionsOn) |
Manufactures an MGRS grid object which is suitable for generating an actual MGRS grid. | |
virtual MgCoordinateSystemGridBase * | MgrsGrid (CREFSTRING sFrameCs, bool bUseFrameDatum, INT8 nLetteringScheme, bool bSetExceptionsOn) |
Manufactures an MGRS grid object which is suitable for generating an actual MGRS grid. |
Supports the creation of MgCoordinateSystem objects based on a OpenGIS Well-Known Text (WKT) definition of the coordinate system. This class is the main entry point for accessing assorted classes and functionalities of the Coordinate System API.