I would like to suggest adding support for writing/saving CityGML files from CityModel objects. Currently, libcitygml is limited to reading and accessing data, but there is no built-in mechanism to serialize modified or newly created models back to valid CityGML .gml files.
A CityGMLWriter class (similar to CityModelReader) would be a natural extension, with support for:
- Writing basic LoD0/LoD1 building geometry
- Supporting the same namespace structure and schema conformance as used in parsing
- Optionally exporting selected city objects or filtered subsets
I would like to suggest adding support for writing/saving CityGML files from CityModel objects. Currently, libcitygml is limited to reading and accessing data, but there is no built-in mechanism to serialize modified or newly created models back to valid CityGML .gml files.
A CityGMLWriter class (similar to CityModelReader) would be a natural extension, with support for: