Exporta edifícios 3D para CityGML — o padrão OGC para modelos 3D de cidades. Formato XML com LOD 1 (modelos de edifícios em bloco). Usado em planeamento urbano, análise SIG e gestão municipal.
Principais características

Sobre o formato CityGML
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.
Que programa abre ficheiros CityGML
Os seguintes programas e aplicações podem abrir, editar e trabalhar com ficheiros CityGML (OGC 3D City Model) (.gml) exportados do OSM2CDR:
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.
Quem utiliza mapas CityGML
Como exportar para CityGML
Como abrir depois da exportação
- 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.
Mapas populares em CityGML
Obtenha exportações de mapas em CityGML (OGC 3D City Model)
Descarregue mapas profissionais em CityGML a partir do OpenStreetMap. Geração instantânea, qualquer área.
Perguntas frequentes
Formatos relacionados
Frequentemente exportados em conjunto
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.