GeoJSON Centroid

Calculate the centroid of all vertices in a GeoJSON input and return it as a Point feature.

Input

Drop a file here, or

A centroid can fall outside concave polygons; use Point on Surface when the point must lie on the feature.

GeoJSON

Understanding GeoJSON Centroid

Spatial relationships and derived geometry

Calculate the centroid of all vertices in a GeoJSON input and return it as a Point feature.

GeoJSON Centroid evaluates where features lie relative to one another or creates geometry from that relationship. Geometry validity, boundary rules and compatible coordinate assumptions control the result.

How to verify the operation

A centroid can fall outside concave polygons; use Point on Surface when the point must lie on the feature.

Review GeoJSON Centroid with feature counts, empty outputs, boundary cases and a few known examples. Confirm units and CRS assumptions before treating the result as authoritative.