gis-tools-ts - v0.6.0
    Preparing search index...

    Function toWM

    • Convert an S2Feature to a GeoJSON Feature

      Type Parameters

      • M = Record<string, unknown>
      • D extends Properties = Properties
      • P extends Properties = Properties
      • G extends VectorGeometry<D> = VectorGeometry<D>

      Parameters

      • data: S2Feature<M, D, P, G>

        S2Feature

      Returns VectorFeature<M, D, P, G>

      • GeoJSON Feature