3dcitydb / importer-exporter

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

KML Export - Extruded - Problem (Tutorial for Beginners) #42

Closed Djordan117 closed 6 years ago

Djordan117 commented 6 years ago

Hello, I'm in engineering school and I'm a beginner on the citygml format.

I try to create a 3D Visualization, I use '3DCityDB Tutorial for Beginners 3.3.0' but I'm blockin on the exercise 6 'KML Export'.

When I do my export, I have three files (Layer1.kml, extruded_MasterJSON.json, Layer1.json), I drop the KML file into Google Earth, but only 'tile border' appear in Google Earth.

pb

Thanks for your help.

FxKu commented 6 years ago

Do you use the same data like in the tutorial? Are you sure that city objects were exported from the database and that result set was not empty? I think, you can look inside the KML files with any editor to check if there is any data. Sometimes I'm able to see the data in Google Earth when I change the height setting to a very low value (0.01). But, usually the Importer/Exporter calls the GE elevation service to get the right height.

Djordan117 commented 6 years ago

Hi, thanks you for you response.

Indeed, I didn't use it. With the same data like in the tutorial, I managed exercises :

localhost berlin ok

It was a good training ! Now I try to do it with my data.

Here my files : Fichier CityGML : Jordan_Test_gml.zip PDF 3D of my cityGML : Jordan_Test.pdf

Import my CityGML in 3D City Database works :

3dcity db

Export KML works too : Jordan_Test_export_json_KML.zip

export kml ok

But I have some problems on google earth, the roof has a bad elevation and windows are really bad.

google earth kml google earth kml 2

After, the 3dwebclient doesn't work too :

localhost jordan_test

I know my gml file is pretty huge, it comes from a mesh and a conversion with FME. But do you have advices in order to improve my kml file ?

Thanks !

Djordan117 commented 6 years ago

Hi !

I managed to find some solutions to my problems. Windows are always a problem, but it does not matter.

I'll have one last question, I work in localhost on the 3dwebclient (http: // localhost: 8000 / 3dwebclient / index.html). It works :

sans titre

I wish I could share with the web application, I tried to help me with the documentation but it does not work. https://drive.google.com/drive/folders/16NgCL0Xti6jhfY8-8fUxV3BTDyTyDbn2?usp=sharing

When I go here http://www.3dcitydb.org/3dcitydb-web-map/1.1/3dwebclient/ with the json file https://drive.google.com/uc?authuser=0&id=1DhjE_r2VBvosEG3i3ypRypKlSWznNX5D&export=download

I don't know why, I think I'm missing a step.

FxKu commented 6 years ago

I know, I'm very late to answer, but maybe it relates to this issue: https://github.com/3dcitydb/3dcitydb-web-map/issues/33

As you managed to display the objects, I'm closing this issue. Feel free to reopen, if you still got questions.