Skip to content
Novus Examples
geojson548 B

GeoJSON Sample

A GeoJSON FeatureCollection with a point, a line, and a polygon — for testing map tools and geo importers.

Preview — first 9 linesgeojson
{
  "type": "FeatureCollection",
  "features": [
    { "type": "Feature", "properties": { "name": "City Hall" }, "geometry": { "type": "Point", "coordinates": [-0.1276, 51.5074] } },
    { "type": "Feature", "properties": { "name": "Route" }, "geometry": { "type": "LineString", "coordinates": [[-0.13, 51.50], [-0.12, 51.51], [-0.11, 51.52]] } },
    { "type": "Feature", "properties": { "name": "Zone" }, "geometry": { "type": "Polygon", "coordinates": [[[-0.14, 51.50], [-0.10, 51.50], [-0.10, 51.53], [-0.14, 51.53], [-0.14, 51.50]]] } }
  ]
}

Specifications

What is a .geojson file?

GeoJSON is a JSON-based format for encoding geographic data structures such as points, lines, and polygons, along with their properties. It uses WGS84 longitude-latitude coordinates and standard feature and feature-collection objects. It is a common interchange format for web mapping and GIS.

How to use this file

Use an example GeoJSON file to test geometry parsing, coordinate handling, and mapping libraries or GIS pipelines that render or analyze spatial features.

Generated by generation/data_formats.py. Free for any use, no attribution required — license.