New: Screen RecorderRecord, trim, and download your screen for freeTry it now →

Back to tools

GeoJSON Polygon Example & Generator

maps

Create valid GeoJSON Polygons. Draw areas and boundaries on the map.

Loading Map...

What is a GeoJSON Polygon?

A Polygon represents an enclosed area. The first and last points must match to close the loop.

Syntax

{
  "type": "Feature",
  "geometry": {
    "type": "Polygon",
    "coordinates": [
        [
            [lng1, lat1],
            [lng2, lat2],
            [lng3, lat3],
            [lng1, lat1]
        ]
    ]
  },
  "properties": {}
}

How to use it

  1. Click somewhere on the map to start.
  2. Continue clicking to add points.
  3. Click any point to add a Label or Info.
  4. Click 'Finish Polygon' or the first point to close the shape.
  5. Copy or download the GeoJSON.

Common Use Cases

Defining service areas
Geofencing for apps
Real estate zoning
Political boundaries

Freqently Asked Questions

How do I close the polygon?
Click the 'Finish Polygon' button or click the toolbar button when you have at least 3 points.
What if my polygon has holes?
This simple tool currently supports single-ring polygons (outer boundary only).

Why use this tool?

  • Visual loop closing
  • Automatic array nesting
  • Validation for 3+ points
  • Export as Feature

How was this tool?

Your feedback helps us make it better.

Have further opinions? Email me at hello@everythingbagel.app