API Reference > IModeljs-common > IModels > IModel > spatialToCartographicFromEcef spatialToCartographicFromEcef Method Convert a point in this iModel's Spatial coordinates to a Cartographic using its IModel.ecefLocation. spatialToCartographicFromEcef(spatial: Readonly<WritableXYAndZ>, result?: Cartographic): Cartographic throws IModelError if IModel.isGeoLocated is false. Parameter Type Description spatial Readonly<WritableXYAndZ> A point in the iModel's spatial coordinates result Cartographic If defined, use this for output Returns - Cartographic A Cartographic location Defined in core/common/src/IModel.ts Line 578 Last Updated: 12 June, 2024