3D épületek exportálása CityGML formátumba – a 3D városmodellek OGC-szabványa. XML-formátum LOD 1 szintű (tömbszerű épületmodellek). Településtervezésben, térinformatikai elemzésben és városgazdálkodásban használatos.
OpenStreetMap data as of 26 October 2026 · 24 days ago
Fő jellemzők

A(z) CityGML formátumról
CityGML is an OGC standard for semantic 3D city models. It differs from an ordinary 3D mesh in that a building here is not just a set of triangles but an object with meaning: it has walls, a roof, a height, a floor count and a function. That is exactly why the format took root in urban planning and city computations rather than in visualization.
A map is exported to CityGML when a 3D city is needed for analysis: calculating insolation and solar panel potential, modeling noise, assessing density and building volumes, loading into a city database. Such tasks need attributes, not a pretty picture.
The output is a single CityGML 2.0 XML file: buildings at LOD1 detail, that is, as closed volumes extruded from OSM outlines by height or floor count, with correctly oriented floor, wall and roof faces. Every building records its measured height, the number of floors and a function code derived from OSM tags. Coordinates are WGS84 (EPSG:4326) by default, and the coordinate system is stated in the file itself.
Pitched roofs, facade details and interior rooms are absent from LOD1 by definition — this is the level of boxes. More detailed models require source data that simply does not exist in OpenStreetMap.
Milyen program nyitja meg a(z) CityGML fájlokat
A következő programok és alkalmazások képesek megnyitni, szerkeszteni és kezelni az OSM2CDR-ből exportált CityGML (OGC 3D City Model) (.gml) fájlokat:
Format specifications
- Open standard
- 3D coordinates supported
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- CityGML 2.0 (OGC 12-019). XML-based 3D city model standard; buildings as LOD 1 solids. Opens in FZK Viewer, FME, QGIS. 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.
Ki használ CityGML térképeket
Hogyan exportáljon CityGML formátumba
Hogyan nyissa meg az exportálás után
- FZK Viewer (free) — open the file and make sure the model reads and the attributes are in place; a convenient first check before loading it anywhere.
- 3DCityDB — import through the Importer/Exporter into PostgreSQL with PostGIS, after which the city is available through ordinary SQL queries.
- FME — transformation and conversion: CityGML is easily turned into CityJSON, IFC or shapefiles to match the requirements of a particular project.
- citygml-tools (free, command line) — validation of the file and conversion into CityJSON, if the receiving side expects JSON.
- QGIS and ArcGIS Pro — read CityGML for checking and for showing it together with other city layers.
Szerezzen be CityGML (OGC 3D City Model) térképexportokat
Töltsön le professzionális CityGML térképeket az OpenStreetMap adataiból. Azonnali generálás, bármilyen terület.
Gyakran feltett kérdések
What people who already downloaded say
Finally, maps can be downloaded as vectors. Thanks to the author!
Map: Ufa, AI
everything is really cool, I didn't expect I'd just come and download a piece of the map! thanks!!!
Map: Nizhny Novgorod, PMTiles
HUGE THANKS!!! A VERY GOOD PROGRAM!!! I was looking for a vector map where 3 countries meet - it helped a lot!!
Map: Kazakhstan and Altai, PDF
Well done! You've done a big and much-needed job!
Map: Roshchino, Leningrad Region, GeoTIFF
Ivan, thank you so much! Not just a man - a Great Man!
Map: Saratov Region, GeoJSON
ivan, you're simply a wonder. Thank you for an incredibly cool service
Map: Bogashevo near Tomsk, DXF
Kapcsolódó formátumok
Gyakran együtt exportálva
Related Articles
CityGML — OGC XML Standard for 3D City Models with LOD0-LOD4 Detail Levels
CityGML is an OGC standard based on GML 3.2.1 for 3D city models: 5 detail levels (LOD0-LOD4), ADE extensions; used by B
guide3D Tiles and CityGML: OGC Standards for Smart Cities
Digital city twins using 3D Tiles and CityGML. LOD levels, Cesium visualization, and applications in urban planning and
usecaseCityJSON and Digital City Twins: From OSM to Smart City
CityJSON for 3D city models, LOD levels, BIM integration, applications in Smart City projects and urban planning.