glTF 🏠

glTF (GL Transmission Format)

Open Beta
.gltf · model/gltf+json

glTF er et moderne åbent format til 3D-scener og -modeller. Bygninger ekstruderes til 3D med teksturer og materialer. Standarden for web-3D (three.js, Babylon.js) og spilmotorer.

Eksportér glTF nu ✨ Open Beta — gratis, ingen begrænsninger

Vigtigste funktioner

3D-bygninger med højder
PBR-materialer
JSON-format (læsbart)
Understøttelse af animation og teksturer
Example glTF export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Om formatet 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.

Hvilket program åbner glTF-filer

Følgende programmer og applikationer kan åbne, redigere og arbejde med glTF (GL Transmission Format)-filer (.gltf), der er eksporteret fra OSM2CDR:

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

Format specifications

Hvem bruger glTF-kort

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

Sådan eksporterer du glTF

1
Vælg område
Tegn et rektangel eller en polygon på det interaktive kort på osm2cdr.ru
2
Vælg glTF
Vælg glTF (GL Transmission Format) fra listen over 127 tilgængelige eksportformater
3
Eksportér
Klik på Eksportér, og modtag din .gltf-fil på 1-5 minutter
4
Download
Download den færdige glTF-fil, og åbn den i Blender

Sådan åbner du filen efter eksporten

Populære kort i glTF

Free

Få korteksport i glTF (GL Transmission Format)

Download professionelle glTF-kort fra OpenStreetMap. Øjeblikkelig generering, ethvert område.

Gratis / eksport
Eksportér glTF nu →

Ofte stillede spørgsmål

Hvad er forskellen mellem glTF og GLB?
Kan jeg se det i en browser?
Hvor kommer bygningshøjderne fra?
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?

Sammenlign med andre formater

Relaterede formater

Ofte eksporteret sammen

Related Articles