API Reference > OdDb Classes > OdDbGeoCoordinateSystemTransformer Class > OdDbGeoCoordinateSystemTransformer Methods > OdDbGeoCoordinateSystemTransformer::create Method
OdDbGeoCoordinateSystemTransformer::create Method
Syntax
C++
static OdResult create(const OdString& sourceCoordSysId, const OdString& targetCoordSysId, OdDbGeoCoordinateSystemTransformerPtr& pCoordSysTransformer);
Parameters 
Description 
const OdString& sourceCoordSysId 
[in] Source CRS's ID.  
const OdString& targetCoordSysId 
[in] Target CRS's ID.  
OdDbGeoCoordinateSystemTransformerPtr& pCoordSysTransformer 
[out] New OdDbGeoCoordinateSystemTransformer object.
 

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

Creates a new OdDbGeoCoordinateSystemTransformer object from the source CRS and target CRS. 

 

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