Mappi logo
Map styles & themes

Where to find GeoJSON boundary files for your map

Article · 2 min readUpdated

Draw your own shape for free at geojson.io, download official boundaries from open datasets such as geoBoundaries, Natural Earth or OpenStreetMap, and convert other formats (KML, Shapefile, TopoJSON) to GeoJSON with mapshaper.org. Then upload it to a stop.

Step by step

  1. Draw a custom shape

    For a delivery zone, a park, a trail area or any shape of your own, open geojson.io, draw a polygon on the map, then click Export, keep File format on GeoJSON and click Export in the dialog to save a .geojson file. It’s free and needs no account.

  2. Or download an official boundary

    For countries, states, provinces, counties and cities, download a ready-made boundary from an open dataset (see the list below). Many offer GeoJSON directly.

  3. Convert and simplify if needed

    If you have KML, KMZ, a Shapefile (.zip) or TopoJSON, drop it on mapshaper.org, simplify it if it’s large, and export as GeoJSON. Mapshaper can also reproject to WGS 84 with the console command -proj wgs84.

  4. Upload it to a stop

    In Mappi, open the stop’s Boundary tab and choose Upload your own boundary. See the video guide.

Good sources for boundary data

SourceBest forFormat
geojson.ioDrawing your own shapes and editing existing onesGeoJSON
geoBoundariesAdministrative boundaries for every country (country, region, district)GeoJSON, Shapefile
Natural EarthCountries and states/provinces at world scale, public domainShapefile (convert with mapshaper)
OpenStreetMap via Overpass TurboCities, neighborhoods, parks, islands, lakesGeoJSON export
US Census TIGER/LineUS states, counties, cities and ZIP code areasShapefile (convert with mapshaper)
City and government open data portalsLocal districts, wards, school zones and parksOften GeoJSON

Checklist before you upload

  • The file is GeoJSON (.geojson or .json) and 25 MB or smaller.
  • It contains a Polygon or MultiPolygon. Points and lines are ignored.
  • Coordinates are longitude first, then latitude, in WGS 84 (EPSG:4326), not meters.
  • The shape is near the stop you upload it to. The camera centers on the stop’s pin.

If Mappi rejects the file, its message tells you why. See fix boundary upload errors.

Was this guide helpful?

Try it in the editor

Mappi is a map animation maker that runs in your browser. No download, and no account needed to start.

Open Mappi

Go deeper in our tutorials

Ready to get started?

Start creating
map animations today

Bring your routes, places, and stories to life with frame-perfect map animations. No editing skills required.