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: XYAndZ, result?: Cartographic): Cartographic throws IModelError if IModel.isGeoLocated is false. Parameter Type Description spatial XYAndZ 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 294 Last Updated: 13 June, 2024