spatialToCartographic Method

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

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

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

see IModelConnection.spatialToCartographicFromGcs

see IModelConnection.spatialToCartographicFromEcef

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: 13 October, 2019