Sample GeoJSON files

GeoJSON (RFC 7946) is a JSON-based format for geographic data. Coordinates are given as [longitude, latitude]. Below are sample .geojson files for every geometry type and FeatureCollection to download

Sample file: Point: a single point (RFC 7946)
Point: a single point (RFC 7946)
226 bytes
Sample file: LineString: a route of several points
LineString: a route of several points
349 bytes
Sample file: Polygon: a polygon with an outer ring and a hole
Polygon: a polygon with an outer ring and a hole
747 bytes
Sample file: Multi-geometries: MultiPoint, MultiLineString, MultiPolygon
Multi-geometries: MultiPoint, MultiLineString, MultiPolygon
1.9 Kb
Sample file: FeatureCollection: 6 cities with bbox and properties
FeatureCollection: 6 cities with bbox and properties
1.7 Kb
Sample file: Large GeoJSON: 2000 points worldwide
Large GeoJSON: 2000 points worldwide
524 Kb
Sample file: Empty FeatureCollection: zero features
Empty FeatureCollection: zero features
51 bytes

🧠 How GeoJSON works

GeoJSON is JSON with a fixed structure for geography (RFC 7946). The basic building block is a Geometry (Point, LineString, Polygon and their Multi versions). Geometry + properties = a Feature, and a set of Features is a FeatureCollection. Coordinates are always in [longitude, latitude] order in the WGS 84 system.

📍 Coordinates [lon, lat] 📐 Geometry Point / Polygon… 🏷️ Feature geometry + props 🗺️ FeatureCollection set of features 💾 .geojson ready file