Comments (8)
The dataset can be downloaded here. At the end of the CityGML tree, there are two elements with the tag app:appearanceMember
which gave me errors while importing because they link to texture files that aren't present. So I removed them manually before importing the dataset. But removing them did not have any effect on the exporting issue.
I built the database with the CRS EPSG 25832 and the height CRS EPSG 7837.
For the export, I used the bounding box bbox=287000.0,5618000.0,303000.0,5638000.0
and tiled it into 20 rows and 16 columns. (BTW: It would be great if there was an option to just give the tile size and the number of rows and columns would be calculated based on that and the bounding box)
from importer-exporter.
Thanks for providing the dataset. We can reproduce the issue and will work on a bugfix.
There is another workaround you can use. The issue is caused by the global appearances in the file. The CityGML specification recommends avoiding global appearances in favor of local appearances whenever possible. So, you can use
citygml-tools to automatically convert the global appearances. Simply use the to-local-apps
command of citygml-tools:
$ citygml-tools to-local-apps /path/to/your/city.gml
Afterwards, load the resulting file into the 3DCityDB and re-export applying your tiling scheme. I just tested locally and it worked fine.
from importer-exporter.
Seems to be Docker-related. At least I have never experienced this issue with "normal" PostgreSQL installations. @BWibo, have you come across this issue before?
As a workaround in the meantime, you can let the Importer/Exporter write temporary data to a local file rather than using temporary database tables. Go to "Preferences -> General -> Cache" and pick "Use local folder". More information can be found in the online documentation.
from importer-exporter.
Changing the setting in the preferences didn't change anything.
Neither did installing PostgreSQL directly on Windows and running the provided scripts to set up the database.
The import of the data into the database still worked fine, so I guess the database is set up correctly.
from importer-exporter.
Okay, there seems to be something fishy with the imported dataset. I can't reproduce the error with another dataset. My bad for not checking that prior to opening an issue. Sorry!
from importer-exporter.
Thanks for your update. Would be great if you could share (part of) the dataset so that we can debug the issue and find a fix.
from importer-exporter.
That workaround works indeed, thank you!
from importer-exporter.
Fixed with 4484b4f. The fix will be included in the next release. If you need the fix earlier, you can build the Importer/Exporter from master
or use the edge
Docker image.
from importer-exporter.
Related Issues (20)
- Automatic BBox calculation for tiling HOT 1
- VIS Export and KML Export HOT 1
- URL for web map HOT 1
- Global appearances are ignored in CityJSON exports
- 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
- Problem with citygml file validation HOT 3
- 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
- 3d CityDatabase HOT 12
- Thank you! @clausnagel
- Bug in About link
- 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
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.