spatialToCartographicFromGcs Method

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

spatialToCartographicFromGcs(spatial: XYAndZ, result?: Cartographic): Promise<Cartographic>

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

Parameter Type Description
spatial XYAndZ A point in the iModel's spatial coordinates
result Cartographic If defined, use this for output

Returns - A Cartographic location

Defined in

Last Updated: 08 January, 2020