Usage

Set bbox on each feature

  • It gets the bbox of each feature in a GeoJSON file and add it as a attribute.

Return:

GeoJSON file - It contains features with a bbox attribute.

Command line:

docker run --rm -v ${PWD}:/mnt/data developmentseed/geokit:node.latest geokit \
    featurebbox input.geojson > output.geojson

Use case:

  • Set the bbox attribute on each feature in the input file.

image