cartographicToSpatialFromGcs Method

Convert a Cartographic to a point in this iModel's Spatial coordinates using the Geographic location services for this IModelConnection.

cartographicToSpatialFromGcs(cartographic: Cartographic, result?: Primitives.Point3d): Promise<Point3d>

throws IModelError if IModelConnection.isGeoLocated is false or cartographic location could not be converted.

Parameter Type Description
cartographic Cartographic A cartographic location
result Primitives.Point3d If defined, use this for output

Returns - A point in this iModel's spatial coordinates

Defined in

Last Updated: 13 October, 2019