Usage
Difference between two GeoJSON files
- It gets the difference of the objects between two GeoJSON files according to a common attribute. This script can work with aws - s3 uri.
COMMAND | REQUIRED | DESCRIPTION |
---|---|---|
--geojson_input | yes | Path to GeoJSON to process. |
--geojson_dif | yes | Path to GeoJSON difference to process. |
--key | yes | Could be any of attribute, which is in both files. |
--geojson_output | yes | Path to GeoJSON output. |
Return:
GeoJSON file - It contains the objects that is missing in one of the input file.
Command line:
docker run --rm -v ${PWD}:/mnt/data developmentseed/geokit:python.latest geo \
difference \
--geojson_input=<INPUT_GEOJSON> \
--geojson_dif=<INPUT_DIFF_GEOJSON> \
--key=key \
--geojson_output=<OUTPUT_GEOJSON>