GeoJSON 💻

GeoJSON

Open Beta
.geojson · application/geo+json

GeoJSON هي صيغة مفتوحة للبيانات الجغرافية مبنية على JSON. الحلّ المعياري لمطوّري الويب، ومتوافقة مع Leaflet وMapbox وOpenLayers وD3.js وأي برنامج نظم معلومات جغرافية.

صدّر GeoJSON الآن ✨ النسخة التجريبية المفتوحة — مجاني، بلا قيود

الميزات الرئيسية

صيغة 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