ImportCoordSysFromStrings Method

WRAPPER_API HorizontalCoordSys *ImportCoordSysFromStrings(const BmgChar *cssystem, const BmgChar *csdatum, const BmgChar *csunit)

 

Description

The ImportCoordSysFromStrings method produces a HorizontalCoordSys that matches the specified keys.  The keys are assumed to be the keys used to identify the coordinate system in GeoCalc v5.x. The system key indicates the type of the coordinate system and, if applicable, the Projection used by the system. The datum key indicates the HorizontalDatum used in the coordinate system.  The units key indicates the measurement units used to express the location of CoordPoints within the CoordSys. If the specified keys identify a HorizontalCoordSys, it will be returned by this method.  If the keys do not identify a HorizontalCoordSys, a GeoCalcException will be thrown with an ErrorCode of IdentifierNotFound.