WRAPPER_API CoordSys *ImportCoordSysFromString(const wchar_t *string)
The ImportCoordSysFromString method allows the user to create a CoordSys instance from a string containing a Well-Known-Text (WKT) definition of a coordinate system. If the string passed as argument does not contain a valid WKT coordinate system definition, then a GeoCalcException will be thrown with an ErrorCode specifying CannotImportCoordinateSystem..
void DataSource_ImportCoordSysFromString(GeoCalcPBW::DataSource & data)
{
_towchar wktString("A Well-Known Text definition for a CoordSys goes here");
GeoCalcPBW::CoordSys * cs = data.ImportCoordSysFromString(wktString.c_str());
delete cs;
}