Usage
Clip
- It gets only the features that are inside the given boundary and it deletes all features outside the boundary. This script can work with aws - s3 uri.
COMMAND | REQUIRED | DESCRIPTION |
---|---|---|
--geojson_input | yes | Path to GeoJSON to process. |
--geojson_boundary | yes | Path to GeoJSON boundary. |
--geojson_output | yes | Path to GeoJSON output. |
Return:
GeoJSON file - It contains all features inside the given boundary.
Command line:
docker run --rm -v ${PWD}:/mnt/data developmentseed/geokit:python.latest geo \
clip \
--geojson_input=<INPUT_GEOJSON> \
--geojson_boundary=<BOUNDARY_GEOJSON> \
--geojson_output=<OUTPUT_GEOJSON>
Use case:
- Get only the features that are inside the boundary.