Spatial Reference System object. The coordinate reference system definitions it contains are referenced by the GeoPackage Contents and GeometryColumns objects to relate the vector and tile data in user tables to locations on the earth.

Hierarchy

  • SpatialReferenceSystem

Constructors

Properties

definition: string

Well-known Text [32] Representation of the Spatial Reference System

definition_12_063: string

Well-known Text Representation of the Spatial Reference System

description: string

Human readable description of this SRS

organization: string

Case-insensitive name of the defining organization e.g. EPSG or epsg

organization_coordsys_id: number

Numeric ID of the Spatial Reference System assigned by the organization

srs_id: number

Unique identifier for each Spatial Reference System within a GeoPackage

srs_name: string

Human readable name of this SRS

Accessors

Methods

  • Get the projection transform from the provided projection to the Spatial Reference System projection

    Returns

    projection transform

    Parameters

    • projection: Projection

      from projection

    Returns GeometryTransform

  • Set the 12_063 WKT definition

    Parameters

    • definition_12_063: string

      12_063 WKT definition

    Returns void

  • Set the organization coordsys id

    Parameters

    • organization_coordsys_id: number

      organization coordsys id

    Returns void

Generated using TypeDoc