Skip to main content
Vecaria

GeoJSON Centroid

Local

Compute 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

  1. Open a GeoJSON layer.
  2. Inspect the centroids.
  3. 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.