GeoJSON 💻

GeoJSON

Open Beta
.geojson · application/geo+json

GeoJSONは、JSONをベースとしたオープンな地理データフォーマットです。Webデベロッパー向けの標準的なソリューションで、Leaflet、Mapbox、OpenLayers、D3.js、その他あらゆるGISソフトウェアと互換性があります。

今すぐ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ファイルを開けるプログラム

次のプログラムおよびアプリケーションは、OSM2CDRからエクスポートしたGeoJSON(.geojson)ファイルを開き、編集し、利用できます:

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

Format specifications

GeoJSON地図を利用するユーザー

🏗
Web 開発
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を選択
利用可能な127種類のエクスポートフォーマットの一覧からGeoJSONを選択します
3
エクスポート
「エクスポート」をクリックすると、1〜5分で.geojsonファイルを受け取れます
4
ダウンロード
完成したGeoJSONファイルをダウンロードし、Leafletで開きます

エクスポート後の開き方

GeoJSONの人気地図

フリー

GeoJSONの地図エクスポートを入手

OpenStreetMapからプロフェッショナルなGeoJSON地図をダウンロード。即時生成、任意の範囲に対応。

無料 /エクスポート
今すぐ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