spatialToCartographic Method
Convert a point in this iModel's Spatial coordinates to a Cartographic using the Geographic location services for this IModelConnection or ecefLocation.
spatialToCartographic(spatial: Readonly<WritableXYAndZ>, 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 | Readonly<WritableXYAndZ> | A point in the iModel's spatial coordinates |
result | Cartographic | If defined, use this for output |
Returns - Promise<Cartographic>
A Cartographic location
Defined in
Last Updated: 30 November, 2023