GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seq گونه‌ای خط‌جداشدهٔ GeoJSON است که در آن هر خط یک عارضهٔ جداگانه است. ایده‌آل برای جریان‌سازی، ثبت رویداد و خط‌لوله‌های کلان‌داده.

همین حالا GeoJSON-Seq را خروجی بگیرید ✨ بتای باز — رایگان، بدون محدودیت

ویژگی‌های کلیدی

قالب خط‌جداشده
پردازش جریانی
تجزیهٔ ساده
سازگار با ndjson
Example GeoJSON-Seq export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

دربارهٔ قالب 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.

چه برنامه‌ای فایل‌های GeoJSON-Seq را باز می‌کند

برنامه‌ها و نرم‌افزارهای زیر می‌توانند فایل‌های GeoJSON Sequences (Newline-delimited) (.geojsonl) صادرشده از OSM2CDR را باز و ویرایش کنند و با آن‌ها کار کنند:

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

Format specifications

چه کسانی از نقشه‌های GeoJSON-Seq استفاده می‌کنند

🏗
پردازش جریانی
The file is read line by line, so memory does not depend on the size of the export.
💻
خط‌لوله‌های کلان‌داده
A ready input for Spark, Kafka and tippecanoe, where data comes as a stream of records.
📊
ثبت رویداد
Records are appended to the end and move on down the line as they arrive.
🎨
پردازش jq/ndjson
Every line is a self-contained JSON, so the usual command line utilities work with no adaptation.
🗺
روندهای کاری ETL
Splitting, filtering and loading in batches are done with standard tools, without intermediate conversions.

چگونه GeoJSON-Seq را خروجی بگیریم

1
انتخاب ناحیه
روی نقشهٔ تعاملی در osm2cdr.ru یک مستطیل یا چندضلعی بکشید
2
انتخاب GeoJSON-Seq
GeoJSON Sequences (Newline-delimited) را از فهرست ۱۲۷ قالب خروجی موجود انتخاب کنید
3
خروجی
روی خروجی کلیک کنید و فایل .geojsonl خود را در ۱ تا ۵ دقیقه دریافت کنید
4
دانلود
فایل آمادهٔ GeoJSON-Seq را دانلود کنید و آن را در jq باز کنید

نحوه باز کردن پس از خروجی

نقشه‌های محبوب در GeoJSON-Seq

رایگان

خروجی نقشهٔ GeoJSON Sequences (Newline-delimited) را دریافت کنید

نقشه‌های حرفه‌ای GeoJSON-Seq را از OpenStreetMap دانلود کنید. تولید آنی برای هر ناحیه.

رایگان / هر خروجی
همین حالا GeoJSON-Seq را خروجی بگیرید →

پرسش‌های متداول

تفاوت GeoJSON-Seq با GeoJSON چیست؟
GeoJSON-Seq کجا استفاده می‌شود؟
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?

قالب‌های مرتبط

قالب‌هایی که اغلب همراه با هم خروجی گرفته می‌شوند

Related Articles