glTF 🏠

glTF (GL Transmission Format)

Open Beta
.gltf · model/gltf+json

glTF és un format obert modern per a escenes i models 3D. Els edificis s'extrudeixen a 3D amb textures i materials. L'estàndard per al 3D web (three.js, Babylon.js) i els motors de joc.

Exporta glTF ara ✨ Beta oberta — gratuït, sense límits

Característiques clau

Edificis 3D amb alçades
Materials PBR
Format JSON (llegible per a humans)
Compatibilitat amb animació i textures
Example glTF export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Sobre el format 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.

Quin programa obre els fitxers glTF

Els programes i les aplicacions següents poden obrir, editar i treballar amb fitxers glTF (GL Transmission Format) (.gltf) exportats des d'OSM2CDR:

🎲Blender 💻three.js 💻Babylon.js 🎮Unity 🎮Unreal Engine 💻Cesium

Format specifications

Qui utilitza els mapes glTF

🏗
Visualització 3D web
A ready-made scene for three.js and Babylon.js: the built-up area spins right in the browser, with no plugins.
💻
Motors de videojocs
Importing city buildings into Unity and Unreal as the basis of a level or as background surroundings.
📊
Aplicacions RA/RV
A lightweight block model for AR scenes and VR walkthroughs — the format is read by mobile and headset engines.
🎨
Mapes 3D de ciutats
A volumetric model of a district with real building heights for presentations and city portals.
🗺
Bessó digital
The geometric base of a digital twin: buildings in meters, with data tied to them later.

Com exportar glTF

1
Selecciona l'àrea
Dibuixa un rectangle o un polígon al mapa interactiu d'osm2cdr.ru
2
Tria glTF
Tria glTF (GL Transmission Format) de la llista de 127 formats d'exportació disponibles
3
Exporta
Fes clic a Exporta i rep el fitxer .gltf en 1-5 minuts
4
Descarrega
Descarrega el fitxer glTF llest i obre'l amb Blender

Com obrir el fitxer després de l'exportació

Mapes populars en glTF

Free

Obtingues exportacions de mapes glTF (GL Transmission Format)

Descarrega mapes glTF professionals d'OpenStreetMap. Generació instantània, qualsevol àrea.

Gratuït / exportació
Exporta glTF ara →

Preguntes freqüents

Quina diferència hi ha entre glTF i GLB?
El puc veure al navegador?
D'on surten les altures dels edificis?
Can I view it in a browser?
Where do building heights come from?
Do I need separate .bin files next to the .gltf?
At what scale and where is the model placed?
Are there facade textures?

Compara amb altres formats

Formats relacionats

Sovint exportats junts

Related Articles