CityJSON 🏙

CityJSON (3D City Model)

Open Beta
.city.json · application/city+json

将建筑导出为 CityJSON 2.0,用于三维城市建模。紧凑的 JSON 格式,支持顶点去重。在 3DCityDB、QGIS 3D、ninja 查看器中均受支持。

立即导出 CityJSON ✨ Open Beta — 免费无限制

主要特点

CityJSON 2.0
LOD1(建筑体块)
顶点去重
建筑属性
CityJSON 格式导出示例(莫斯科中心,1x0.5 公里)
示例:莫斯科中心区,约 1x0.5 公里,中等详细度

关于 CityJSON 格式

CityJSON is a compact way of writing the same city model as CityGML, but in ordinary JSON instead of bulky XML. The same set of concepts (buildings, level of detail, attributes), only the file is many times smaller and is parsed by any language without special libraries. It is a recognized OGC community standard, not an amateur invention.

The format is chosen when a semantic 3D model is needed on the web, in scripts or in exchange between teams: to look at it in a browser viewer, to run it through Python, to put it into a repository, to hand it to colleagues without a heavy GIS stack.

The output is a single file: buildings at LOD1 detail are written as closed volumes extruded from OSM outlines. Vertices are stored as integers with millimeter precision through a scale factor and are deduplicated, so the file comes out noticeably lighter than the equivalent XML. The metadata records the coordinate system and the bounds of the model, and the buildings carry height, floor count and class.

打开 CityJSON 文件的程序

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

💻3DCityDB 🌎QGIS 3D 💻FME 💻ninja (web viewer) 💻azul 🎲Blender (plugin)

格式规格

谁在使用 CityJSON 地图

🏗
三维城市模型
A light 3D city model for the web and for exchange between teams.
💻
城市规划
Material for planning projects and development assessment in a form convenient for scripts.
📊
噪声与能耗分析
Noise and energy consumption calculations, where building heights and volumes are needed.
🎨
可视化
A quick display of the model in a browser without installing specialized software.
🗺
分析
Spatial analysis in Python: JSON reads without GIS libraries.

如何导出 CityJSON

1
选择区域
在 osm2cdr 的交互式地图上绘制矩形或多边形
2
选择 CityJSON
从 127 种可用导出格式中选择 CityJSON (3D City Model)
3
导出
点击导出,1–5 分钟内收到您的 .city.json 文件
4
下载
下载完成的 CityJSON 文件并在 3DCityDB 中打开

导出后如何打开

CityJSON 格式的热门地图

Free

导出 CityJSON (3D City Model) 地图

从 OpenStreetMap 下载专业的 CityJSON 地图。即时生成,任意区域。

免费 / 导出
立即导出 CityJSON →

常见问题

它与 CityGML 有何不同?
我能在 QGIS 中打开它吗?
How is it different from CityGML?
Can I open it in QGIS?
Why are the coordinates written as integers?
How can I look at the model quickly without installing anything?
Can the file be converted to CityGML or OBJ?

与其他格式比较

相关格式

经常一起导出

Related Articles