CityJSON 🏙

CityJSON (3D City Model)

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

Exportera byggnader till CityJSON 2.0 för 3D-stadsmodellering. Kompakt JSON-format med deduplicering av hörn. Stöds i 3DCityDB, QGIS 3D, ninja viewer.

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

Viktiga funktioner

CityJSON 2.0
LOD1 (byggnadsblock)
Deduplicering av hörn
Byggnadsattribut
Example CityJSON export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Om formatet 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.

Vilket program öppnar CityJSON-filer

Följande program och applikationer kan öppna, redigera och arbeta med CityJSON (3D City Model)-filer (.city.json) som exporterats från OSM2CDR:

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

Format specifications

Vem använder CityJSON-kartor

🏗
3D-stadsmodeller
A light 3D city model for the web and for exchange between teams.
💻
Stadsplanering
Material for planning projects and development assessment in a form convenient for scripts.
📊
Buller- och energianalys
Noise and energy consumption calculations, where building heights and volumes are needed.
🎨
Visualisering
A quick display of the model in a browser without installing specialized software.
🗺
Analys
Spatial analysis in Python: JSON reads without GIS libraries.

Så exporterar du CityJSON

1
Välj område
Rita en rektangel eller polygon på den interaktiva kartan på osm2cdr.ru
2
Välj CityJSON
Välj CityJSON (3D City Model) från listan med 127 tillgängliga exportformat
3
Exportera
Klicka på Exportera och få din .city.json-fil på 1–5 minuter
4
Ladda ner
Ladda ner den färdiga CityJSON-filen och öppna den i 3DCityDB

Så öppnar du filen efter exporten

Populära kartor i CityJSON

Free

Hämta kartexporter i CityJSON (3D City Model)

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

Gratis / export
Exportera CityJSON nu →

Vanliga frågor

Hur skiljer det sig från CityGML?
Kan jag öppna det i 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?

Jämför med andra format

Relaterade format

Ofta exporterade tillsammans

Related Articles