Usage
Delete nulls
- It deletes the attributes or the features, according to the selected option, that has an empty or null value.
COMMAND | REQUIRED | DESCRIPTION |
---|---|---|
--geojson_input | yes | Path to GeoJSON to process. |
--delete_feat | No | Delete the features that have attributes with empty or null values. Add this in the command line will delete the features that have attributes with empty or null values, otherwise, will delete only the attributes instead the features. |
--geojson_output | yes | Path to GeoJSON output. |
Return:
GeoJSON file - It contains features without attributes with value as null.
Command line:
docker run --rm -v ${PWD}:/mnt/data developmentseed/geokit:python.latest geo \
deletenulls \
--geojson_input=<INPUT_GEOJSON> \
--delete_feat \
--geojson_output=<OUTPUT_GEOJSON>
Use case:
- Delete the attributes with an empty or null value.