Comments (6)
Hi Daniel,
TL;DR: No, there are no plans to support raster reliefs in the Importer/Exporter in the near future.
There is no support for the RasterRelief Feature in the Importer Exporter. You are right. It's supported by citygml4j though.
I think, this has two reasons.
First: Up till now, there has been no user demand for storing raster reliefs in the 3DCityDB. Personally, I haven't seen a CityGML file yet that contains raster data or to be more precise: a gml:RectifiedGridCoverage feature. How do your files look like?
Second: To transfer geodata from Java to the database we are using the JDBC drivers of Oracle and PostGIS. I think there's no native support for the raster data types. To import raster files both DBMS recommend certain tools. Maybe there is a solution using GeoTools or this approach.
So a trick might be: Import the raster files into your DB using these tools and do some rearrangements that it fits to the table structure of the 3DCityDB (Relief_Feature -> Relief_Feat_To_Rel_Comp, Relief_Component, Raster_Relief, Grid_Coverage).
lg Felix
from importer-exporter.
Hi Felix,
thanks for the fast response.
We have files with gml:RectifiedGridCoverage feature, but I'm afraid that it is not possible to share example data at the moment (have to check the NDAs first...).
The raster is textured using GeoreferencedTextures with non resolvable links to a target=#ground. It would help us a lot, if we could use the import-export tool to access these textures. They are imported to the surface_data and tex_image tables, but are not exported as GeoreferencedTextures, because of the unresolvable XLINK?!? What are we missing?
kr,
Daniel
from importer-exporter.
Since the geometry of the terrain is not imported due to lacking support for RasterRelief in the importer, the XLinks from the GeoreferencedTexture to the terrain geometry cannot be resolved on the database level. This explains log messages about unresolvable XLinks.
Are your GeoreferencedTexture elements modeled as global appearances (i.e., linked to <CityModel>
through an <appearanceMember>
property)? The exporter suppresses global appearances if the referenced geometry has not been exported.
from importer-exporter.
The GeoreferencedTexture elements are modeled as global appearances. That means we have to find a "little" workaround using citygml4j.
I could share a little testing dataset, if you are interested in an example for gml:RectifiedGridCoverage...
from importer-exporter.
Yes, I am interested. Did you succeed to create a workaround using citygml4j?
from importer-exporter.
Closing due to missing feedback.
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
- Can't export to tiled CityGML files HOT 8
- 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.