GeoJSON 💻

GeoJSON

Price before payment
.geojson · application/geo+json

GeoJSON قالبی باز برای داده‌های جغرافیایی است که بر پایهٔ JSON بنا شده. راه‌حل استاندارد برای توسعه‌دهندگان وب، سازگار با Leaflet، Mapbox، OpenLayers، D3.js و هر نرم‌افزار GIS.

OpenStreetMap data as of 26 October 2026 · 18 days ago

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

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

✓قالب JSON خوانا برای انسان
✓ویژگی‌های عارضه (نام‌ها، نوع‌ها)
✓سامانهٔ تصویر WGS84
✓پشتیبانی بومی مرورگر
Example GeoJSON export (city centre, 1x0.5 km)
Example: city centre, ~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 را از فهرست ۱۲۷ قالب خروجی موجود انتخاب کنید
3
خروجی
روی خروجی کلیک کنید و فایل .geojson خود را در ۱ تا ۵ دقیقه دریافت کنید
4
دانلود
فایل آمادهٔ GeoJSON را دانلود کنید و آن را در Leaflet باز کنید

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

رایگان

خروجی نقشهٔ 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