Comments (3)
Your CityGML file obviously violates the CityGML XML schemas and thus is invalid. This is not an issue of the Importer/Exporter tool but a problem of your dataset.
If you share (an excerpt) of your dataset, I can maybe give you a hint on what causes the problem and how to fix it.
from importer-exporter.
novo_teste_6andar.zip
Thank you very much for your help.
Here is part of my file.
erro_xml.docx
from importer-exporter.
Thanks, @elainegv, for sharing the dataset.
The reason for the validation error is simple: The dataset contains three BuildingFurniture
objects (at lines 30567, 83014, and 103570) that have nested WallSurfaces
. However, in CityGML 2.0 it is not allowed for objects of type BuildingFurniture
to have boundary surfaces. This is also the reason why the XML validation of the Importer/Exporter complains about the invalid bldg:boundedBy
elements.
To fix the problem, remove these WallSurfaces
and store the geometry using only the bldg:lod4Geometry
property of BuildingFurniture
. It seems that you are using the 3DIS CityGML Sketchup Plugin to model the data? I have not used this tool before, but maybe you created the WallSurfaces
for the BuildingFurniture
objects manually and can simply remove them? Or maybe it's a bug of the tool. Either way, I recommend contacting 3DIS support for further assistance.
Interestingly, there is a fourth BuildingFurniture
object (at line 49230) that has no WallSurfaces
, only a bldg:lod4Geometry
geometry. This BuildingFurniture
object is valid and can serve as template for fixing the others. I recommed changing its geometry type from gml:MultiGeometry
to gml:MultiSurface
though.
Hope this helps.
from importer-exporter.
Related Issues (20)
- URL and cityobjectsJsonUrl for the JSON files HOT 5
- Date error when exporting HOT 2
- importer for surfaces with inner rings creates invalid POLYHEDRALSURFACE HOT 2
- Installation issue on mac HOT 2
- NoClassDefFoundError: org/citydb/gui/plugin/view/ViewExtension when running the Importer/Exporter CLI HOT 4
- 3DCityDB-Importer-Exporter-4.3.0-Setup.jar does not install core, only plugins HOT 6
- When using the CLI import options, can I specify that it should update? HOT 1
- Properly calculate the area/volume of a building/city object HOT 2
- Can't export to tiled CityGML files HOT 8
- 3d CityDatabase HOT 12
- Thank you! @clausnagel
- Bug in About link HOT 1
- Importer/Exporter 5.4.2: ADE manager tab gone? HOT 3
- ERROR: geometry requires more points HOT 2
- GLTF Export -> All Buldings in one gltf file? HOT 1
- CityJSON 2.0 support HOT 2
- 3DCityDB Import Fails: A fatal error occurred during import. HOT 5
- Problems with ADE Manager and ADE with association class HOT 2
- Suggestions to improve ADE manager log messages HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from importer-exporter.