Sample GeoJSON files
Two GeoJSON files: the large US airports with scheduled service as Point features (from OurAirports, public domain), and a made-up line and polygon near Denver for testing other geometry types. Free, no sign-up. Updated 19 November 2026.
What these files are
Two GeoJSON files: the large US airports with scheduled service as Point features (from OurAirports, public domain), and a made-up line and polygon near Denver for testing other geometry types.
Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.
About the format
GeoJSON is specified in RFC 7946. Coordinates are written longitude first, then latitude, in WGS 84 degrees, which is the opposite of how most people say a location and the most common bug in map code. A FeatureCollection holds Features, each with a geometry (Point, LineString, Polygon and their Multi versions) and a properties object.
These files open in QGIS, geojson.io and web map libraries such as Leaflet. A web server should send them with the header Content-Type: application/geo+json.
2 files to download
| File | Size | What it is |
|---|---|---|
| sample-points-us-airports.geojson | 26 KB | 95 Point features: large US airports with scheduled service (OurAirports, public domain) features: 95; geometry: Point |
| sample-line-polygon.geojson | 2 KB | one LineString (40 vertices) and one Polygon; made-up shapes near Denver, Colorado features: 2; geometry: LineString, Polygon |
MIME type: application/geo+json. Total 28 KB.
Good for testing
- Web maps (Leaflet, Mapbox, OpenLayers)
- GIS imports (QGIS, PostGIS, geopandas)
- Coordinate order checks: GeoJSON is longitude, latitude
Check a file
python -c "import json; print(len(json.load(open('sample-points-us-airports.geojson'))['features']))"Compare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):
| File | SHA-256 |
|---|---|
| sample-points-us-airports.geojson | cf8742fa99092c2b78112a7b67c9790b9cf602a32d00e27ab7c1e66ae1d4d167 |
| sample-line-polygon.geojson | 2e397e34591bf50f631ce82b8c2606e7c7aea8d105424b09cb800037d54e6d4a |