Skip to main content

How to create a GeoJSON file with geojson.io

This article explains how to create, edit, and download a GeoJSON file using geojson.io to define service area boundaries with geographic coordinates

Written by Support
Updated over 2 weeks ago

Overview


Introduction

When creating a service area you can upload a GeoJSON file to define its area boundaries. A GeoJSON file is a standardized format for representing geographic shapes and boundaries using coordinates. It is especially useful for complex shapes or when you need to precisely match existing territorial boundaries.

We recommend using geojson.io to create compatible files.


Create an area

Use the Polygon tool to draw an area on the map.


Edit the area

Select the Edit tool and click on the area, to access the polygon's points. You can move points, add new ones, or press backspace on your keyboard to delete them.


Create a cutout in an area

Sometimes, you need to cut out parts of the service area—such as a body of water—to ensure your service is not available there.

  1. Draw a second polygon over the service area you created, where you want the cutout to be

  2. In the JSON Code on the right side of the window, remove the following code portion that separates the two polygons:

              ]
    ],
    "type": "Polygon"
    }
    },
    {
    "type": "Feature",
    "properties": {},
    "geometry": {
    "coordinates": [
    [

  3. Replace it with the following:

    ],
    [

Find visual guidance here:

You will immediately see the cutout. If not, make sure you removed and added the JSON exactly as explained above and showed in the video.

Now you can download the file.


Delete the area

Click on the area and on Delete feature in the popover.


Download the GeoJSON file

Click on Save and select GeoJSON from the dropdown. The file will be saved directly to your computer's Downloads folder.

Did this answer your question?