• Preparing search index...
  • The search index is not available
@honua/sdk-js
  • @honua/sdk-js
  • geometry
  • project

Function project

  • project(input, fromCrs, toCrs): GeoJsonGeometry
  • Reproject a geometry from fromCrs to toCrs. CRS arguments accept EPSG codes, "EPSG:xxxx" strings, or raw proj4 definitions. Returns a new geometry; the input is never mutated. A no-op (deep clone) when the two CRS resolve to the same definition.

    Parameters

    • input: GeometryInput
    • fromCrs: string | number
    • toCrs: string | number

    Returns GeoJsonGeometry

    • Defined in work/honua-sdk-js/honua-sdk-js/src/geometry/project.ts:80

Settings

Member Visibility
@honua/sdk-js
  • Loading...

Generated using TypeDoc