Skip to content

Guides

Reference material about the format, written to be read once and referred back to.

If you are new to the format, start with what GeoJSON is and then the specification guide, which walks RFC 7946 section by section. Examples is a reference sheet of every geometry type, useful to keep open while writing code.

If something is broken, the debugging guide is organised by symptom, so you can find your problem by what you are seeing on screen. Points in the ocean and inside-out polygons are the first two entries for a reason.

If a file is too big, file size covers the four things that actually work, in the order worth trying them. If you are choosing a format, the format comparison and GeoJSON against TopoJSON set out the trade-offs.

The rest are practical: working with the format in Python, JavaScript and PostGIS, building a web map, and one end-to-end tutorial that builds a store locator.

Two are measured rather than written from the spec. The JSON Schema guide tests what a schema can catch and what it cannot, and the language model guide measures what geometry costs in tokens.

All guides

What is GeoJSON?

Learn about GeoJSON - the open standard format for encoding geographic data structures using JSON.

GeoJSON Specification (RFC 7946)

A developer-friendly guide to the GeoJSON specification RFC 7946 with examples and explanations.

GeoJSON Examples

Browse common GeoJSON examples for Point LineString Polygon and FeatureCollection types.

GeoJSON Best Practices for Developers

Best practices for working with GeoJSON data in web mapping and GIS applications.

Coordinate Reference Systems (CRS)

Understand coordinate reference systems and how they relate to GeoJSON and web mapping.

GeoJSON vs TopoJSON Comparison

Compare GeoJSON and TopoJSON formats. Learn when topology-preserving formats save space.

Web Mapping Developer Guide

A comprehensive guide to building interactive web maps with GeoJSON Leaflet and modern tools.

Using GeoJSON with PostGIS

Learn how to import export and query GeoJSON data in PostGIS spatial databases.

GeoJSON Frequently Asked Questions

Answers to the most common GeoJSON questions about coordinate order file size limits and browser support.

GeoJSON Debugging Guide

Fix common GeoJSON problems: points in the ocean reversed polygons invalid geometries and coordinate order issues.

GeoJSON File Size Optimization

One public-domain dataset taken from 55 MB down to 4 MB. What each optimisation is actually worth once the file is compressed.

Spatial Operations Explained

Learn buffer clip union intersection and difference operations with real GeoJSON examples you can paste into tools.

GeoJSON vs Shapefile vs GeoPackage

Compare GeoJSON Shapefile GeoPackage and other geospatial formats. When to use each and migration strategies.

Working with GeoJSON in Python

Use GeoJSON in Python with json Shapely GeoPandas and Fiona. Read write transform and serve spatial data.

Working with GeoJSON in JavaScript

Parse transform and render GeoJSON in JavaScript with Turf.js Leaflet Mapbox GL and TypeScript types.

Build a Store Locator with GeoJSON

Step-by-step tutorial: geocode addresses create GeoJSON features and build a proximity search map with Leaflet.

Measured guides

These two are written from measurements rather than from the specification, so they carry the numbers the runs produced.