GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

Open Beta
.geojsonl · application/geo+json-seq

GeoJSON-Seq là biến thể phân tách theo dòng của GeoJSON, trong đó mỗi dòng là một Feature riêng. Lý tưởng cho luồng dữ liệu, ghi nhật ký và các quy trình Big Data.

Xuất GeoJSON-Seq ngay ✨ Open Beta — miễn phí, không giới hạn

Tính năng chính

Định dạng phân tách theo dòng
Xử lý dạng luồng
Phân tích cú pháp đơn giản
Tương thích ndjson
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Giới thiệu về định dạng GeoJSON-Seq

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.

Chương trình nào mở được tệp GeoJSON-Seq

Các chương trình và ứng dụng sau có thể mở, chỉnh sửa và làm việc với tệp GeoJSON Sequences (Newline-delimited) (.geojsonl) được xuất từ OSM2CDR:

💻jq 💻ndjson-cli 💻Tippecanoe 💻GDAL/OGR 💻Python (json) 💻Node.js

Format specifications

Ai sử dụng bản đồ GeoJSON-Seq

🏗
Xử lý luồng dữ liệu
The file is read line by line, so memory does not depend on the size of the export.
💻
Quy trình dữ liệu lớn
A ready input for Spark, Kafka and tippecanoe, where data comes as a stream of records.
📊
Ghi nhật ký
Records are appended to the end and move on down the line as they arrive.
🎨
Xử lý jq/ndjson
Every line is a self-contained JSON, so the usual command line utilities work with no adaptation.
🗺
Quy trình ETL
Splitting, filtering and loading in batches are done with standard tools, without intermediate conversions.

Cách xuất GeoJSON-Seq

1
Chọn khu vực
Vẽ một hình chữ nhật hoặc đa giác trên bản đồ tương tác tại osm2cdr.ru
2
Chọn GeoJSON-Seq
Chọn GeoJSON Sequences (Newline-delimited) từ danh sách 127 định dạng xuất khả dụng
3
Xuất
Nhấn Xuất và nhận tệp .geojsonl của bạn trong 1-5 phút
4
Tải xuống
Tải tệp GeoJSON-Seq đã sẵn sàng và mở trong jq

Cách mở tệp sau khi xuất

Bản đồ phổ biến ở định dạng GeoJSON-Seq

Miễn phí

Nhận bản đồ xuất ở định dạng GeoJSON Sequences (Newline-delimited)

Tải bản đồ GeoJSON-Seq chuyên nghiệp từ OpenStreetMap. Tạo tức thì, bất kỳ khu vực nào.

Miễn phí / lần xuất
Xuất GeoJSON-Seq ngay →

Câu hỏi thường gặp

GeoJSON-Seq khác GeoJSON như thế nào?
GeoJSON-Seq được dùng ở đâu?
How is .geojsonl different from .ndjson and .geojsons?
How do I tell which layer a feature came from?
Can such a file be opened straight in a browser map?

GeoJSON-Seq guides and tutorials

Định dạng liên quan

Thường được xuất cùng nhau

Related Articles