GeoJSON-Seq er en linjeavgrenset variant av GeoJSON der hver linje er et eget Feature. Ideelt for strømming, logging og stordata-pipelines.
Hovedfunksjoner

Om GeoJSON-Seq-formatet
GeoJSON-Seq (RFC 8142) is the same GeoJSON laid out line by line: one line is one whole feature. There is no common FeatureCollection wrapper, which means you do not have to read the entire file to get to the first feature.
This is a pipeline format. Such files are read line by line and processed as a stream: filtered with jq, fed to tippecanoe to build vector tiles, poured into Kafka or Spark, cut into pieces by line count. Memory usage does not depend on the size of the export.
The output is a single .geojsonl with the features of all the selected layers written one after another. Each has a _layer property with the name of its source layer, OpenStreetMap attributes are preserved, and coordinates are WGS84 (EPSG:4326) with six decimal places.
The format is good at exactly what ordinary GeoJSON is bad at on large volumes, and vice versa: you cannot put a .geojsonl straight into Leaflet — the lines are first assembled into a FeatureCollection or processed as a stream.
Hvilket program åpner GeoJSON-Seq-filer
Følgende programmer og applikasjoner kan åpne, redigere og arbeide med GeoJSON Sequences (Newline-delimited) (.geojsonl)-filer eksportert fra OSM2CDR:
Format specifications
- Open standard
- 3D coordinates supported
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- RFC 8142 GeoJSON Text Sequences (newline-delimited). Streamable line-by-line — ideal for big-data pipelines and incremental loading.
Hvem bruker GeoJSON-Seq-kart
Slik eksporterer du GeoJSON-Seq
Slik åpner du filen etter eksporten
- jq — jq -c 'select(.properties._layer=="roads")' map.geojsonl > roads.geojsonl filters out the layer you need without loading the file into memory.
- Tippecanoe — tippecanoe -o map.mbtiles map.geojsonl builds vector tiles: the line-based format is its native input.
- QGIS and ogr2ogr — GDAL reads GeoJSONSeq out of the box: ogr2ogr -f GPKG out.gpkg map.geojsonl.
- Python — read the file line by line and parse json.loads(line): memory does not depend on the volume; to bring the whole layer up, use geopandas.read_file("map.geojsonl").
- Splitting it up — an ordinary split -l 100000 map.geojsonl part_ gives valid pieces: every line is self-contained.
Populære kart i GeoJSON-Seq
Få karteksporter i GeoJSON Sequences (Newline-delimited)
Last ned profesjonelle GeoJSON-Seq-kart fra OpenStreetMap. Umiddelbar generering, uansett område.
Ofte stilte spørsmål
GeoJSON-Seq guides and tutorials
Relaterte formater
Ofte eksportert sammen
Related Articles
GeoJSON-Seq (RFC 8142) format: streaming features — OSM export for big-data pipelines
GeoJSON-Seq (RFC 8142, 2017): stream of features, RS/LF delimiters, tippecanoe + BigQuery + Spark.
guideGeoJSON — Everything a Developer Needs to Know
Complete GeoJSON guide for developers: format structure, code examples with Leaflet, Mapbox and OpenLayers, getting data
guideGeoJSON: Complete Guide for Web Developers
What is GeoJSON, format structure, how to use with Leaflet and Mapbox, exporting OSM maps to GeoJSON.