cartographicFromSpatial Method
Convert points in this iModel's spatial coordinate system to Cartographic coordinates using either a GeoConverter or the iModel's EcefLocation.
cartographicFromSpatial(spatial: Readonly<WritableXYAndZ>[]): Promise<Cartographic[]>
@returns The spatial
coordinates converted to cartographic coordinates, of the same length and order as the spatial
.
@throws IModelError if IModelConnection.isGeoLocated is false or any point could not be converted.
@see - IModelConnection.spatialFromCartographic to perform the inverse conversion.
- IModelConnection.spatialToCartographicFromEcef to synchronously convert points using the iModel's ECEF transform.
Parameter | Type | Description |
---|---|---|
spatial | Readonly<WritableXYAndZ>[] | Coordinates to be converted from the iModel's spatial coordinate system |
Returns - Promise<Cartographic[]>
The spatial
coordinates converted to cartographic coordinates, of the same length and order as the spatial
.
Defined in
Last Updated: 16 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.