Usage
Count feature by property
- It gets the total number of features that exist inside the GeoJSON file (according to a chosen property).
Return:
Number - total number of features.
Command line:
docker run --rm -v ${PWD}:/mnt/data developmentseed/geokit:node.latest geokit \
countfeature input.geojson --prop property=*
Note: The property can be building, highway, landuse, etc.
Use case:
- Get the total number of features.