glTF 🏠

glTF (GL Transmission Format)

Open Beta
.gltf · model/gltf+json

glTF är ett modernt öppet format för 3D-scener och 3D-modeller. Byggnader extruderas till 3D med texturer och material. Standarden för webb-3D (three.js, Babylon.js) och spelmotorer.

Exportera glTF nu ✨ Öppen beta — gratis, inga begränsningar

Viktiga funktioner

3D-byggnader med höjder
PBR-material
JSON-format (läsbart)
Stöd för animering och texturer
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.

Vilket program öppnar glTF-filer

Följande program och applikationer kan öppna, redigera och arbeta med glTF (GL Transmission Format)-filer (.gltf) som exporterats från OSM2CDR:

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

Format specifications

Vem använder glTF-kartor

🏗
3D-visualisering på webben
A ready-made scene for three.js and Babylon.js: the built-up area spins right in the browser, with no plugins.
💻
Spelmotorer
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-stadskartor
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å exporterar du glTF

1
Välj område
Rita en rektangel eller polygon på den interaktiva kartan på osm2cdr.ru
2
Välj glTF
Välj glTF (GL Transmission Format) från listan med 127 tillgängliga exportformat
3
Exportera
Klicka på Exportera och få din .gltf-fil på 1–5 minuter
4
Ladda ner
Ladda ner den färdiga glTF-filen och öppna den i Blender

Så öppnar du filen efter exporten

Populära kartor i glTF

Free

Hämta kartexporter i glTF (GL Transmission Format)

Ladda ner professionella glTF-kartor från OpenStreetMap. Direktgenerering, valfritt område.

Gratis / export
Exportera glTF nu →

Vanliga frågor

Vad är skillnaden mellan glTF och GLB?
Kan jag visa det i en webbläsare?
Varifrån kommer byggnadshöjderna?
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?

Jämför med andra format

Relaterade format

Ofta exporterade tillsammans

Related Articles