GeoJSON Centroid
LocalCompute the centroid of GeoJSON features, locally in your browser.
What is it? GeoJSON Centroid computes the centroid of GeoJSON features for labeling and centering.
TL;DR: Compute feature centroids in the browser.
How to use
- Open a GeoJSON layer.
- Inspect the centroids.
- Download the centroid GeoJSON.
FAQ
How is the centroid defined?
The geometric centroid of each feature is used.
Is it local?
Yes.
Limitations
- Not the same as a population-weighted center.
- Complex multipolygons use the geometric center.
Privacy
Privacy first: this tool runs entirely in your browser. Your input and files never leave your device.