glTF е съвременен отворен формат за 3D сцени и модели. Сградите се екструдират в 3D с текстури и материали. Стандартът за уеб 3D (three.js, Babylon.js) и гейм енджини.
OpenStreetMap data as of 26 October 2026 · 11 days ago
Основни характеристики

За формата 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. Where elevation data (DEM) covers the area, the buildings sit on the terrain and the base plane under the model follows the slope. 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
Следните програми и приложения могат да отварят, редактират и работят с файлове glTF (GL Transmission Format) (.gltf), експортирани от OSM2CDR:
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. Where elevation data (DEM) covers the area, buildings and the ground follow the terrain; without it the ground stays at z = 0. A bare surface is the separate Terrain Mesh format.
Кой използва карти в 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)
Изтеглете професионални карти в glTF от OpenStreetMap. Незабавно генериране, всяка област.
Често задавани въпроси
Сравнение с други формати
glTF guides and tutorials
Свързани формати
Често експортирани заедно
Related Articles
glTF — 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
tutorialOpenStreetMap 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
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