| CARVIEW |
Select Language
HTTP/2 301
server: GitHub.com
content-type: text/html
location: https://stevage.github.io/ndgeojson/
x-github-request-id: 3F84:21D6A4:76D157:8501F4:6950DCBD
accept-ranges: bytes
age: 0
date: Sun, 28 Dec 2025 07:31:13 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210031-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1766907073.328497,VS0,VE200
vary: Accept-Encoding
x-fastly-request-id: 6626244548e5de5a4ba098554c3147baa1b1e106
content-length: 162
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
x-origin-cache: HIT
last-modified: Tue, 01 Jan 2019 20:54:11 GMT
access-control-allow-origin: *
etag: W/"5c2bd373-15bb"
expires: Sun, 28 Dec 2025 07:41:13 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: 72DE:3ABDEF:74E8DE:831A9A:6950DCC0
accept-ranges: bytes
age: 0
date: Sun, 28 Dec 2025 07:31:13 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210031-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1766907074.548073,VS0,VE208
vary: Accept-Encoding
x-fastly-request-id: 14fbf67d8fd85199426fc32d750ceb1c0df27d1b
content-length: 1596
Newline-delimited GeoJSON
Newline-delimited GeoJSON (also known as "line-oriented GeoJSON", "GeoJSONL", "GeoJSONSeq" or "GeoJSON Text Sequences") is a text-based geospatial file format that is particularly convenient for transformation and processing. Each line can be read independently, parsed, and processed, without the entire file ever having to be parsed in memory, which is great for huge files.
It is simply newline-oriented JSON applied to GeoJSON, and formalised as RFC 8142.
- Remove the top-level
FeatureCollection. - Output each
Featureminified, on its own line, separated by\n. - Don't include commas between
Features.
Normal GeoJSON
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "Melbourne"
}, "geometry": {
"type": "Point",
"coordinates": [
144.9584,
-37.8173
]
}
}, {
"type": "Feature",
"properties": {
"name": "Canberra"
}, "geometry": {
"type": "Point",
"coordinates": [
149.1009,
-35.3039
]
}
}, {
"type": "Feature",
"properties": {
"name": "Sydney"
}, "geometry": {
"type": "Point",
"coordinates": [
151.2144,
-33.8766
]
}
}
]
}
Newline-delimited GeoJSON
{"type":"Feature","properties":{"name":"Melbourne"},"geometry":{"type":"Point","coordinates":[144.9584,-37.8173]}}
{"type":"Feature","properties":{"name":"Canberra"},"geometry":{"type":"Point","coordinates":[149.1009,-35.3039]}}
{"type":"Feature","properties":{"name":"Sydney"},"geometry":{"type":"Point","coordinates":[151.2144,-33.8766]}}
Tools
These tools support newline-delimited GeoJSON:- Tippecanoe: generate vector tiles from GeoJSON files.
- Shape2json: convert Esri Shapefiles to GeoJSON.
- geojson2ndjson: convert GeoJSON files to/from newline-delimited format
- GDAL, powerful geospatial manipulation suite, with the "GeoJSONSeq" driver.
Resources
- GeoJSONL: An optimized format for large geographic datasets(blog post)
- RFC 8142: GeoJSON Text Sequences (formal specification)
Created by Steve Bennett (@stevage1).