GeoJSON-Seq 📋

GeoJSON Sequences (Newline-delimited)

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

GeoJSON-Seq არის GeoJSON-ის ხაზებად გამოყოფილი ვარიანტი, სადაც ყოველი ხაზი ცალკე Feature-ია. იდეალურია სტრიმინგისთვის, ლოგირებისა და დიდი მონაცემების პაიპლაინებისთვის.

GeoJSON-Seq-ის ექსპორტი ახლავე ✨ Open Beta — უფასო, ლიმიტების გარეშე

ძირითადი შესაძლებლობები

ხაზებად გამოყოფილი ფორმატი
ნაკადური დამუშავება
მარტივი დამუშავება
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 ფაილებს

შემდეგ პროგრამებსა და აპლიკაციებს შეუძლიათ გახსნან, დაარედაქტირონ და იმუშაონ OSM2CDR-იდან ექსპორტირებულ GeoJSON Sequences (Newline-delimited) (.geojsonl) ფაილებთან:

💻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 workflow-ები
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) ხელმისაწვდომი 127 ექსპორტის ფორმატის სიიდან
3
ექსპორტი
დააჭირეთ ექსპორტს და მიიღეთ თქვენი .geojsonl ფაილი 1-5 წუთში
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?

GeoJSON-Seq guides and tutorials

დაკავშირებული ფორმატები

ხშირად ერთად ექსპორტირებული

Related Articles