Usage
Feature to point
- It gets the centroid for each feature in a GeoJSON file.
Return:
GeoJSON file - It contains the centroid of each feature.
Command line:
docker run --rm -v ${PWD}:/mnt/data developmentseed/geokit:node.latest geokit \
centroid input.geojson > output.geojson
Use case:
- Get the centroid of each feature of the input file.