You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Vector · Web & JSON

GeoJSONSeq — GeoJSON Text Sequences (NDJSON)

Stream-friendly GeoJSON variant storing one feature per record, either newline-delimited or RS-separated per RFC 8142.

Type
Vector · Web & JSON
Extension
.geojsonl, .geojsons, .ndjson, .json
Converter
Read & write
Coordinate system
Always WGS 84 (EPSG:4326)
Layers
Single

What is a GeoJSONSeq file?

GeoJSON Text Sequences store GeoJSON features as a sequence of independent JSON texts rather than as one FeatureCollection. RFC 8142, published by the IETF in 2017, defines the variant in which each feature is preceded by the ASCII record separator character, following RFC 7464. A closely related and more common convention, often called newline-delimited GeoJSON, GeoJSONL or NDJSON, simply writes one feature per line.

Because no enclosing array has to be parsed, files can be read and written as streams, appended to, split into chunks and processed in parallel. This suits very large datasets, log-style data and command-line pipelines, for example as input for vector tile generation. Geometry types and coordinate rules follow GeoJSON, so coordinates are expected in WGS 84 longitude/latitude. Limitations include the absence of collection-level metadata and the lack of a spatial index.

GeoJSONSeq files are usually exchanged between developers, data engineers and web-mapping teams who handle datasets too large for a single FeatureCollection. Check which variant you have: RFC 8142 files use a record separator character before each feature, while most NDJSON files use plain newlines. Some tools accept only one variant, and the .json extension does not reveal which one a file is.

Typical uses

  • Feeding large feature sets into vector tile generation tools.
  • Streaming GIS data between command-line programs in a pipeline.
  • Appending new features to a dataset without rewriting the whole file.
  • Splitting big datasets into chunks for parallel processing.
Files: One GeoJSON feature per line; stream-friendly; large datasets.

Sample GeoJSONSeq files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena places st-helena-places.geojsonl

Places (points)

58 places of Saint Helena (20 settlements, 17 peaks, 21 points of interest) with name, category, elevation from Copernicus DEM and OSM id. One GeoJSON feature per line (RFC 8142 without record separators).

  • st-helena-places · Point · 58
  • EPSG:4326
  • 14.7 kB
Attributes (7)
idIntegernameStringcategoryStringkindStringelevationIntegersummaryStringosm_idString
10Jamestowntownsettlement36Capital and only port of Saint Helena293673697
22Diana's Peakpeakpeak809Highest point of Saint Helena4254622180
47Longwood Housemuseumpoi544Napoleon's residence in exile, 1815-182135798100
46Jacob's Ladderlandmarkpoi74Staircase of 699 steps from Jamestown up to Ladder Hill146163201
53Saint Helena Airportairportpoi326Island airport, scheduled flights since 2017166589674

© OpenStreetMap contributors, ODbL 1.0 · Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Preview of the sample data: Saint Helena roads and paths st-helena-roads.geojsonl

Roads and paths (lines)

110 named roads, streets, tracks and paths (OSM segments merged by name) with class, surface, speed limit and length. One GeoJSON feature per line (RFC 8142 without record separators).

  • st-helena-roads · LineString · 110
  • EPSG:4326
  • 161.6 kB
Attributes (8)
idIntegernameStringclassStringrefStringonewayStringmaxspeedIntegersurfaceStringlength_mReal
1Airport Access RoadtertiaryNonenoNonepaved13088.3
2Airport Access RoadtertiaryNoneyesNonepaved177.1
3Casons RoadtertiaryNonenoNoneNone6132.5
4China LanetertiaryNoneyesNoneNone34.1
5Commonwealth AvenuetertiaryNoneno48asphalt3035.7

© OpenStreetMap contributors, ODbL 1.0

Frequently asked questions

Regular GeoJSON usually wraps all features in one FeatureCollection, so the whole file must be parsed as one JSON document. GeoJSONSeq stores each feature as its own JSON text, so it can be read and written one feature at a time.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.