cityjson / specs

Specifications for CityJSON, a JSON-based encoding for 3D city models
https://cityjson.org
Creative Commons Zero v1.0 Universal
108 stars 25 forks source link

Clarify Transportation geometry types #208

Open balazsdukai opened 1 month ago

balazsdukai commented 1 month ago

I stumbled on the Transportation geometry types several times already, so I made it clear in the specs.

Related to the geometry types, I made an overview table, because I often have to dig through the specs for the allowed geometry types for each CityObject and it's easy to get things mixed up. I haven't added to the specs, because it would duplicate the info that is already in there. Or what do you think? I made the table by parsing the schemas with a python script.

CityObject type Geometry type
Bridge MultiSurface, CompositeSurface, Solid, CompositeSolid
BridgeConstructiveElement MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
BridgeFurniture MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
BridgeInstallation MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
BridgePart MultiSurface, CompositeSurface, Solid, CompositeSolid
BridgeRoom MultiSurface, CompositeSurface, Solid, CompositeSolid
Building MultiSurface, CompositeSurface, Solid, CompositeSolid
BuildingConstructiveElement MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
BuildingFurniture MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
BuildingInstallation MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
BuildingPart MultiSurface, CompositeSurface, Solid, CompositeSolid
BuildingRoom MultiSurface, CompositeSurface, Solid, CompositeSolid
BuildingStorey MultiSurface, CompositeSurface, Solid, CompositeSolid
BuildingUnit MultiSurface, CompositeSurface, Solid, CompositeSolid
CityFurniture MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
CityObjectGroup MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid
GenericCityObject MultiPoint, MultiLineString, Solid, MultiSolid, CompositeSolid, MultiSurface, CompositeSurface, GeometryInstance
LandUse MultiSurface, CompositeSurface
OtherConstruction MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
PlantCover MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid
Railway MultiLineString, MultiSurface, CompositeSurface
Road MultiLineString, MultiSurface, CompositeSurface
SolitaryVegetationObject MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
TINRelief CompositeSurface
TransportSquare MultiLineString, MultiSurface, CompositeSurface
Tunnel MultiSurface, CompositeSurface, Solid, CompositeSolid
TunnelConstructiveElement MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
TunnelFurniture MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
TunnelHollowSpace MultiSurface, CompositeSurface, Solid, CompositeSolid
TunnelInstallation MultiPoint, MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid, MultiSolid, GeometryInstance
TunnelPart MultiSurface, CompositeSurface, Solid, CompositeSolid
WaterBody MultiLineString, MultiSurface, CompositeSurface, Solid, CompositeSolid
Waterway MultiLineString, MultiSurface, CompositeSurface