Comments (6)
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.
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.
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.
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.
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.
Good point, we will add a link to py3dtilers to the homepage (we have to update it anyway).
from 3dcitydb.
Related Issues (20)
- Github issue form templates
- [Question] CityGML coordinates understanding problem HOT 2
- rename "val_reference_type" to "feature_reference_type" HOT 1
- change index on "name" column of "property"
- Change xal_source column of address to support more content besides xAL
- Remove column supertype_id of table datatype HOT 2
- Export of 2D building geometries (groundfloor, upperfloor, roofs) as geojson? HOT 6
- Drop the "type" column from the geometry_data table
- Drop "val_implicitgeom_transform" column HOT 1
- Change gt_orientation to json HOT 1
- Drop "val_implicitgeom_refpoint" coulmn?
- Data creation learning-curve barrier HOT 3
- Some changes to indexes HOT 1
- Drop the "objectid" column from the geometry_data table HOT 1
- Minor changes to "property" table HOT 2
- Resolve inconsistency between objectclass and datatype HOT 2
- Harmonize file names and directory names HOT 3
- Error on import of 2.0 model HOT 2
- CREATE_DB.bat error 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 3dcitydb.