wasm-spatial-core
    Preparing search index...

    Function removeProperty

    • Remove a property key from all features of a GeoJSON FeatureCollection.

      If a feature doesn't have the key, it's silently skipped.

      Arguments

      • input — GeoJSON string.
      • key — Property key to remove.

      Returns

      Modified GeoJSON string with the property removed.

      Parameters

      • input: string
      • key: string

      Returns string