Geometry Inspector
Inspect geometry type, bounding box, centroid, and validity.
How to use
- Paste a geometry to see its type, bounding box, centroid, and validity.
- Switch to Draw & Edit to sketch a geometry directly on the map instead of typing one.
- Use Repair or Simplify from the Operations row if the geometry has issues or is too detailed.
Input
ST_GeomFromText('POLYGON ((127 37.5, 127.1 37.5, 127.1 37.6, 127 37.6, 127 37.5))', 4326)Map Preview
What makes GeoJSON geometry valid?
Valid GeoJSON geometry follows RFC 7946 structure and uses the coordinate array required by its type. Correct JSON syntax does not rule out topology problems such as polygon self-intersection or an unclosed ring.
Geometry Inspector reports type, bounding box, centroid, and structural issues. Preserve the original before repair and verify that a change has not altered the intended shape.
Frequently asked questions
Does Repair fix self-intersecting polygons?
No — Repair only closes unclosed rings, fixes RFC 7946 winding, and removes duplicate coordinates; topology problems like self-intersection need manual review.
What can I draw or edit on the map?
Only Point, LineString, and Polygon — GeoJSON's own structural limit for a single editable feature.