Usage
Merge GeoJSON files
- It merges multiple GeoJSON files into one FeatureCollection. This script can work with aws - s3 uri.
COMMAND | REQUIRED | MULTIPLE | DESCRIPTION |
---|---|---|---|
--geojson_input | no | yes | Path to GeoJSON to process. |
--folder_path | no | no | Path to folders with GeoJSON files. |
--recursive | no | no | Flag to search under folder path. Default: False. |
--geojson_output | yes | no | Path to GeoJSON output. |
Return:
GeoJSON file - It contains all features.
Command line:
docker run --rm -v ${PWD}:/mnt/data developmentseed/geokit:python.latest geo \
merge_fc \
--geojson_inputs=<INPUT_GEOJSON> \
--geojson_inputs=<INPUT_GEOJSON> \
--folder_path=<FOLDER_PATH> \
--recursive \
--geojson_output=<OUTPUT_GEOJSON>
Use case:
- Merge two GeoJSON files.