JSPM

geojson-slicer

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q11310F
  • License MIT

slice a set of features to fit within a certain bounding box

Package Exports

  • geojson-slicer

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (geojson-slicer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

geojson-slicer

slice a given set of geojson features to fit within a certain bounding box

Installation

Use standard npm installation

npm install --save geojson-slicer

Usage

TODO sorry :(

Options

You can pass additional options to control the behavior.

cutFeatures (default: true)

Cut Features to fit within bounds. If set to false, the complete feature is added.

Future Work

As you can see, the module is not quite done yet. The following improvements are planned:

  • finish README
  • create a fix API
  • add tests
  • clean up code (add lint)

Contribute

Feel free to add issues or pull requests. I'm glad for every kind of feedback!