getConverter Method
Obtain a converter that can convert between a geographic coordinate system and the iModel's own coordinate system.
getConverter(datumOrGCRS?: string | GeographicCRSProps): undefined | GeoConverter
@returns a converter, or undefined
if the iModel is not open.
@note A BlankConnection has no connection to a backend, so it is never "open"; therefore it always returns undefined
.
Parameter | Type | Description |
---|---|---|
datumOrGCRS | string | GeographicCRSProps | The name or JSON representation of the geographic coordinate system datum - for example, "WGS84". |
Returns - undefined | GeoConverter
a converter, or undefined
if the iModel is not open.
Defined in
- core/frontend/src/GeoServices.ts Line 382
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.