API Reference > OdDb Classes > OdDbGeoCoordinateSystem Class > OdDbGeoCoordinateSystem Methods > OdDbGeoCoordinateSystem::create Method
OdDbGeoCoordinateSystem::create Method
Syntax
C++
static OdResult create(const OdString& coordSysIdOrFullDef, OdDbGeoCoordinateSystemPtr& pCoordSys);
Parameters 
Description 
const OdString& coordSysIdOrFullDef 
[in] ID, WKT or XML representation of the CRS definition to load.  
OdDbGeoCoordinateSystemPtr& pCoordSys 
[out] New CRS.
 

Returns eOK if successful, or an appropriate error code if not.

Creates and returns a new OdDbGeoCoordinateSystem object from the current virtual catalog. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.