glTFは、3Dシーンとモデル向けの最新のオープンフォーマットです。建物はテクスチャとマテリアルを付けて3Dに押し出されます。Web 3D(three.js、Babylon.js)とゲームエンジンの標準です。
主な機能

glTFフォーマットについて
glTF 2.0 is the Khronos Group's open standard for delivering three-dimensional scenes: geometry, materials and scene structure are described in JSON, while vertices and faces live in binary buffers. The format was conceived as the JPEG of 3D, and today browser engines, game editors and viewers read it without conversion.
OpenStreetMap maps are exported to glTF when you need a city with volume rather than a picture: to spin a block right in the browser, drop the built-up area into a Unity or Unreal scene, show the surroundings in AR, or assemble the geometric base of a digital twin. From there the model is edited in Blender like any other 3D scene.
The file contains the buildings of the selected area: each house outline is extruded upward to its height from the height and building:levels tags, and when those are missing a sensible value is substituted by building type — a detached house gets about six meters, a garage three, a building with no stated type nine, roughly three floors. Roads, water and greenery do not make it into the 3D scene, and terrain is not taken into account: the buildings stand on a flat base plane added underneath the model. Color is assigned by building type, the material is matte, with no metallic sheen.
Coordinates are converted to local meters with the origin at the center of the area, so the model arrives at real-world scale and right next to the scene origin — no hunting for it and no rescaling. The .gltf file is self-contained: the binary buffers are embedded inside as data URIs, no separate .bin appears alongside. If you need a single compact binary, GLB sits right next to it.
glTFファイルを開けるプログラム
次のプログラムおよびアプリケーションは、OSM2CDRからエクスポートしたglTF (GL Transmission Format)(.gltf)ファイルを開き、編集し、利用できます:
Format specifications
- Open standard
- 3D coordinates supported
- Lossless (no quality loss)
- Stores feature attributes
- Output: 3 files in archive
- glTF 2.0 (Khronos). JSON + binary buffers, ZIP includes textures. Streaming-friendly, native browser support via three.js.
glTF地図を利用するユーザー
glTFのエクスポート方法
エクスポート後の開き方
- Blender (free) — File → Import → glTF 2.0; the model arrives in meters, and from there you can simplify it, recolor it and render it.
- An online viewer — drag the file into three-gltf-viewer or gltf.report and spin the scene right away, checking the polygon count and materials.
- three.js and Babylon.js — hook it up through GLTFLoader or SceneLoader: the model drops into the scene with no conversion beforehand.
- Unity and Unreal Engine — import through glTFast or UnityGLTF and the built-in glTF import plugin respectively; after importing, check that the scene units are meters.
- Cesium — load the model onto the globe; for a whole city it is more convenient to take the 3D Tiles format, which is designed for loading in pieces.
glTFの人気地図
glTF (GL Transmission Format)の地図エクスポートを入手
OpenStreetMapからプロフェッショナルなglTF地図をダウンロード。即時生成、任意の範囲に対応。
よくある質問
他のフォーマットと比較
関連フォーマット
よく一緒にエクスポートされるフォーマット
Related Articles
OpenStreetMap to SketchUp: import real buildings and terrain as a 3D model
How to bring OpenStreetMap buildings and terrain into SketchUp via COLLADA, OBJ or glTF: import, units and scale, geoloc
formatglTF — The JPEG of 3D: Khronos's Web, AR/VR, and Games Format, with OSM Building Export
Khronos Group's glTF 2.0 since June 2017: JSON + .bin + PBR materials, Draco compression, GLB binary container, OSM buil
tutorialHow to Export 3D Buildings from OpenStreetMap to STL for 3D Printing
Step-by-step guide: export OpenStreetMap buildings with real heights to STL, glTF and OBJ for 3D printing, architectural