Represents a geographical spatial reference.

Constructors

Properties

latestWkid: undefined | number

Latest well known id. This optional property allows updated wkid values to be leveraged when standards change

wkid: undefined | number

Well known id. This generally corresponds to an EPSG code or an ESRI wkid number

wkt: undefined | string

Well known type.

Methods

  • Convert a GeoJSON styled co-ord reference to an EPSG styled string

    Parameters

    • crs: undefined | CoordinateReferenceSystem

      GeoJSON crs object

    Returns string

    A proj4 friendly projection, in the form EPSG:#### or a WKT