GeoJSON 💻

GeoJSON

Open Beta
.geojson · application/geo+json

‏GeoJSON הוא פורמט נתונים גיאוגרפיים פתוח מבוסס JSON. הפתרון התקני למפתחי אינטרנט, תואם ל-Leaflet, ‏Mapbox, ‏OpenLayers, ‏D3.js ולכל תוכנת GIS.

ייצוא GeoJSON עכשיו ✨ Open Beta — חינם, ללא הגבלות

תכונות עיקריות

פורמט JSON קריא לבני אדם
מאפייני אובייקטים (שמות, סוגים)
היטל WGS84
תמיכה מקורית בדפדפן
Example GeoJSON export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

אודות פורמט GeoJSON

GeoJSON is an open geodata format (RFC 7946) in which geography is written as ordinary JSON: an array of features, each with a geometry and a set of properties. A human can read it in a text editor, any programming language parses it in one line, and practically all web cartography understands it — Leaflet, Mapbox GL, OpenLayers, D3.js — with no plugins or converters.

An OSM map is exported to GeoJSON when you need the features themselves rather than a picture: to attach a layer to a website, compute statistics for a district, filter the categories you need, load the data into PostGIS or run it through GeoPandas. It is also the most convenient intermediate format: from it, ogr2ogr or QGIS will make SHP, GeoPackage, KML — anything you like.

The output is a single UTF-8 file: one FeatureCollection gathering all the layers of the selected area. Every feature keeps its OpenStreetMap attributes (name, type, tags) and a service property _layer with the name of its source layer — one line of filtering takes the data apart again into roads, buildings, water, greenery and points of interest. Coordinates are WGS84 (EPSG:4326), as the specification requires; the recorded precision is six decimal places, about ten centimeters on the ground: the file drops into any GIS and any web framework with no reprojection.

איזו תוכנה פותחת קבצי GeoJSON

התוכנות והיישומים הבאים יכולים לפתוח, לערוך ולעבוד עם קבצי GeoJSON (.geojson) שיוצאו מ-OSM2CDR:

💻Leaflet 💻Mapbox 🌎QGIS 💻D3.js 💻Kepler.gl 💻GeoPandas

Format specifications

מי משתמש במפות GeoJSON

🏗
פיתוח אינטרנט
The native format for Leaflet, Mapbox and OpenLayers: the map is attached to a site with a couple of lines of code.
💻
מפות אינטראקטיביות
Vector layers with attributes for clickable maps with tooltips and filters.
📊
המחשת נתונים
A ready source for D3.js and dashboards: boundaries, POI and routes in standard JSON.
🎨
ממשקי API ושירותים
A lightweight geodata exchange format for REST APIs and microservices.
🗺
מדע הנתונים
Loading city geometry into GeoPandas and QGIS for spatial analysis.

כיצד לייצא GeoJSON

1
בחירת אזור
ציירו מלבן או מצולע על המפה האינטראקטיבית ב-osm2cdr.ru
2
בחירת GeoJSON
בחרו GeoJSON מתוך רשימת 127 פורמטי הייצוא הזמינים
3
ייצוא
לחצו על ייצוא וקבלו את קובץ ה-.geojson שלכם תוך 1-5 דקות
4
הורדה
הורידו את קובץ ה-GeoJSON המוכן ופתחו אותו ב-Leaflet

איך לפתוח לאחר הייצוא

מפות פופולריות בפורמט GeoJSON

חינם

קבלו ייצוא מפות בפורמט GeoJSON

הורידו מפות GeoJSON מקצועיות מ-OpenStreetMap. יצירה מיידית, לכל אזור.

חינם / ייצוא
ייצוא GeoJSON עכשיו →

שאלות נפוצות

האם ניתן לפתוח GeoJSON בדפדפן?
האם GeoJSON חינמי?
האם ניתן לטעון GeoJSON אל PostGIS?
How do I split the export back into layers?
Which projection do the coordinates arrive in?
What should I do if the file turns out too big for a browser?

השוואה עם פורמטים אחרים

פורמטים קשורים

מיוצאים יחד לעיתים קרובות

Related Articles