@honua/sdk-js
    Preparing search index...

    Module geometry

    @honua/geometry — curated, tree-shakeable client-side geometry operations for the Honua SDK.

    This subpath (@honua/sdk-js/geometry, split-packaged as @honua/geometry) wraps the individual @turf/* packages and proj4, typed against the SDK's own GeoJSON contract. Importing a single op only pulls that op's turf backing into a consumer bundle; the core SDK never imports this module, so core-only consumers never pay for turf/proj4.

    Interfaces

    GeoJsonFeatureCollection

    Type Aliases

    GeometryInput
    LinearUnit

    Functions

    area
    bbox
    booleanContains
    booleanIntersects
    booleanWithin
    buffer
    centroid
    convex
    defineProjection
    difference
    geoJsonToEsri
    intersect
    length
    nearestPoint
    normalizeCrs
    project
    simplify
    toWebMercator
    toWgs84
    union

    References

    esriFeatureToGeoJson → esriFeatureToGeoJSON
    esriToGeoJson → esriGeometryToGeoJSON
    GeoJsonFeature → GeoJsonFeature
    GeoJsonGeometry → GeoJsonGeometry
    GeoJsonLineString → GeoJsonLineString
    GeoJsonMultiLineString → GeoJsonMultiLineString
    GeoJsonMultiPoint → GeoJsonMultiPoint
    GeoJsonMultiPolygon → GeoJsonMultiPolygon
    GeoJsonPoint → GeoJsonPoint
    GeoJsonPolygon → GeoJsonPolygon