CityJSON 🏙

CityJSON (3D City Model)

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

Eksporter bygninger til CityJSON 2.0 til 3D-bymodellering. Kompakt JSON-format med deduplikering af vertices. Understøttes i 3DCityDB, QGIS 3D, ninja viewer.

Eksportér CityJSON nu ✨ Open Beta — gratis, ingen begrænsninger

Vigtigste funktioner

CityJSON 2.0
LOD1 (bygningsblokke)
Deduplikering af vertices
Bygningsattributter
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.

Hvilket program åbner CityJSON-filer

Følgende programmer og applikationer kan åbne, redigere og arbejde med CityJSON (3D City Model)-filer (.city.json), der er eksporteret fra OSM2CDR:

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

Format specifications

Hvem bruger CityJSON-kort

🏗
3D-bymodeller
A light 3D city model for the web and for exchange between teams.
💻
Byplanlægning
Material for planning projects and development assessment in a form convenient for scripts.
📊
Støj- og energianalyse
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.
🗺
Analyse
Spatial analysis in Python: JSON reads without GIS libraries.

Sådan eksporterer du CityJSON

1
Vælg område
Tegn et rektangel eller en polygon på det interaktive kort på osm2cdr.ru
2
Vælg CityJSON
Vælg CityJSON (3D City Model) fra listen over 127 tilgængelige eksportformater
3
Eksportér
Klik på Eksportér, og modtag din .city.json-fil på 1-5 minutter
4
Download
Download den færdige CityJSON-fil, og åbn den i 3DCityDB

Sådan åbner du filen efter eksporten

Populære kort i CityJSON

Free

Få korteksport i CityJSON (3D City Model)

Download professionelle CityJSON-kort fra OpenStreetMap. Øjeblikkelig generering, ethvert område.

Gratis / eksport
Eksportér CityJSON nu →

Ofte stillede spørgsmål

Hvordan adskiller det sig fra CityGML?
Kan jeg åbne 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?

Sammenlign med andre formater

Relaterede formater

Ofte eksporteret sammen

Related Articles