3dcitydb / importer-exporter

3D City Database client for high-performance import and export of 3D city model data
Apache License 2.0
126 stars 54 forks source link

Colouring objects according to values in 3dcitydb #105

Closed christianbraun closed 4 years ago

christianbraun commented 5 years ago

Hi, I am wondering how it is possible to colorise objects in gltf according to a classification scheme. Assuming I have e.g. buildings and want to apply a schema which shows their assessment about e.g. PV generation and display it in the 3dwebclient. Is there a way to do it with the importer-exporter? I couldn't find any documentation.

Thanks a lot in advance, Christian

Son-HNguyen commented 4 years ago

I don't think that it is generally possible to color a city object based on some of its values. But for your use case of displaying PV values perhaps @BWibo could give some input here.

BWibo commented 4 years ago

Hey there, the coloring we do in our solar application (see here) is performed by the application itself. We just export the textured city model using the ImporterExporter. As far as I know this can't be done using the ImporterExporter directly. This would be a nice feature to have!

However, commercial GIS software like FME should allow for developing a workflow that is capabale to color building faces according to e.g. an attribute value containing a classification.

clausnagel commented 4 years ago

Closing due to missing feedback. Feel free to re-open if you have further questions.