indoorGML convertable to CityJSON? #177
Answered
by
hugoledoux
ZhuoranJia
asked this question in
Q&A
|
Hello, can an IndoorGML file be converted to a CityJSON file? Thanks. |
Answered by
hugoledoux
Aug 14, 2023
Replies: 1 comment
|
Depends what you want. If you want only the geometries then yes I guess it would be possible to do so (only FME would work at the moment: read the GML file with it and export to CityJSON). But if you want semantics then no not possible. The data model of CityJSON is that of CityGML, and the dual network essential to IndoorGML is not one of the classes. You could store each room/floor with the equivalent CityGML v3 classes though: "BuildingStorey" + "BuildingRoom" (see https://www.cityjson.org/specs/1.1.3/#building). For the dual graph, you could create your own Extension. |
0 replies
Answer selected by
ZhuoranJia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Depends what you want. If you want only the geometries then yes I guess it would be possible to do so (only FME would work at the moment: read the GML file with it and export to CityJSON).
But if you want semantics then no not possible. The data model of CityJSON is that of CityGML, and the dual network essential to IndoorGML is not one of the classes. You could store each room/floor with the equivalent CityGML v3 classes though: "BuildingStorey" + "BuildingRoom" (see https://www.cityjson.org/specs/1.1.3/#building).
For the dual graph, you could create your own Extension.