Code Monkey home page Code Monkey logo

Comments (6)

thomashkolbe avatar thomashkolbe commented on September 22, 2024

Note, that in order to visualize the glTF output files (tiled or untiled), the 3DCityDB web map client must be used. I don't think that the vanilla CesiumJS code supports the loading of our files. The 3DCityDB web map client has specific extensions, which I guess, are not available within the masterportal.

However, there is another open source project called "py3Dtilers" that directly connects to a 3DCityDB and is able to produce 3Dtiles datasets. These can be directly consumed by any CesiumJS based viewer. Hence, it should work with the masterportal. The project can be found here: https://github.com/VCityTeam/py3dtilers

from 3dcitydb.

BWibo avatar BWibo commented on September 22, 2024

For common tasks like moving files to a server or network share, that can take very long with many small files, I can recommend to create some kind of archive (zip, tar.gz, 7z, or any other), move the file to the server and extract it locally on the target system using SSH.

from 3dcitydb.

sehHeiden avatar sehHeiden commented on September 22, 2024

Thanks @thomashkolbe, this link was very helpful. Its marvelous. Would be great, when it could be integrated.

One thing, that is missing, that 3dcitydb has is to set the buildings on zero elevation, not the ground elevation.
Is there a command in in 3dcitydb that I can apply a corrected elevations in the database (postgis) myself?

While I am at it. I wanted to remove some buildings from the db, because the are still in the citygml, but don't exists anymore or are going to be destroid very soon!
How can I select the buildings to be remove? I was able to find the gml:ids in the table cityobject. Is it possible to only remove the ids, or do I have to recursively remove some child objects?

from 3dcitydb.

thomashkolbe avatar thomashkolbe commented on September 22, 2024

Here is an answer to your second question: please check the manual here:
https://3dcitydb-docs.readthedocs.io/en/latest/3dcitydb/sproc/citydb-delete.html
There are stored procedures which you can use to delete CityGML objects including all their sub objects based on gml:ids of the toplevel object (e.g. some buildings).

Regarding your first question: as far as I know we do not have scripts in the 3DCityDB to move all objects down to a zero height level. This is normally also not what you want to / should do. Since this is mostly required for visualization our export tool offers the possibility to automatically adjust the elevation to zero, but this is only reflected in the exported visualization models. Maybe the py3dtilers software offers such an option. If not, I suggest to create an issue with a feature request for their software. Alternatively you should consider exporting the corresponding digital terrain model. We have also a software that can easily generate QuantizedMeshes as required by CesiumJS from DTM data: https://github.com/tum-gis/cesium-terrain-builder-docker

from 3dcitydb.

sehHeiden avatar sehHeiden commented on September 22, 2024

Thanks.
I also found a parameter to exclude buildings in citygml-tiler working well.
I can manually correct the offset, too. So hence I can not set it to sea level but hat least on the ground.
I think, this thread can be closed.

I would just like to kindly ask to link to py3dtilers, because I never found this by my own.

from 3dcitydb.

thomashkolbe avatar thomashkolbe commented on September 22, 2024

Good point, we will add a link to py3dtilers to the homepage (we have to update it anyway).

from 3dcitydb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.