CityGML 🏙

CityGML (OGC 3D City Model)

付款前显示价格
.gml · application/gml+xml

将三维建筑导出为 CityGML——OGC 制定的三维城市模型标准。采用 XML 格式,支持 LOD 1(块状建筑模型)。用于城市规划、GIS 分析与城市管理。

OpenStreetMap data as of 26 October 2026 · 16 days ago

现在导出 CityGML ✨ 登录网站后下载 · 付款前可查看价格

主要特点

✓CityGML 2.0
✓LOD 1 体块
✓高度与楼层数
✓建筑类型
✓GIS 互操作性
CityGML 格式导出示例(市中心,1x0.5 公里)
示例:市中心,约 1x0.5 公里,中等详细度

关于 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.

打开 CityGML 文件的程序

以下程序可以打开、编辑和处理从 OSM2CDR 导出的 CityGML (OGC 3D City Model)(.gml)文件:

💻FME 💻3DCityDB 🌎ArcGIS Pro 🌎QGIS 💻CesiumJS 💻citygml-tools

格式规格

谁在使用 CityGML 地图

🏗
城市规划
A volumetric model of a block for planning projects and assessment of development.
💻
GIS 分析
A source for spatial analysis: volumes, density, adjacency of buildings.
📊
城市管理
City computations in a single semantic model rather than in a set of scattered meshes.
🎨
太阳能分析
Assessment of solar panel potential: building heights give shading and roof areas.
🗺
噪声建模
Noise propagation calculations, where buildings act as barriers.

如何导出 CityGML

1
选择区域
在 osm2cdr 的交互式地图上绘制矩形或多边形
2
选择 CityGML
从 127 种可用导出格式中选择 CityGML (OGC 3D City Model)
3
导出
点击导出,然后下载制作好的 .gml 文件
4
下载
下载完成的 CityGML 文件并在 FME 中打开

导出后如何打开

Free

导出 CityGML (OGC 3D City Model) 地图

从 OpenStreetMap 下载专业的 CityGML 地图。任意区域,付款前即可看到价格。

所选格式的地图 构建器中自选区域 — 按地图计价
现在导出 CityGML →

常见问题

CityGML 与 CityJSON 有何区别? ▼
细节程度如何? ▼
Which version of CityGML is produced? ▼
What attributes do the buildings have? ▼
What goes into the file besides buildings? ▼

相关格式

经常一起导出

Related Articles