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 citygml is not working in google earth. 3dcitydb citygml 3d importer-exporter Sketchup #46

Closed anwar1010 closed 6 years ago

anwar1010 commented 6 years ago

SketchupDesign

5 finalkiu2.zip

**

I add all my srid and other coordinates in fme..

** 1

Importer exporter import properly

2

My fnal code after export

3 gml code file finalkiu2.zip

This is the issue that not a single building is shown 4

Fme converter I used to conveter my skp file to citygml

skp2citygml_v1.2 (backup).zip

@clausnagel @FxKu @yaozhihang @yaozhihang

FxKu commented 6 years ago

Sorry to keep you waiting. I took a look at the GML file to understand the issue, but for some reason it only contains bridge windows and doors. In your import report I see only buildings.

Anyway, If the objects are not placed correctly on the globe, usually it's because the wrong coordinate reference is used. If the offset is "small" (say 100km), maybe choose the neighboring UTM zone. If the bounding box looks flipped by 90°, try to swap the X and Y coordinates. If the objects are placed far off, you probably need another CRS with another datum.

anwar1010 commented 6 years ago

@FxKu Thank you So much for your support. I will try what you instruct me I think there is a problem with my CRS and datum because the objects are placed far from my original buildings.

anwar1010 commented 6 years ago

@FxKu When I change the CRS and datum now it's working but I am facing another issue regarding KML Collada extruded and excel sheet problem Please have a look at the issue issue

FxKu commented 6 years ago

Hm, are you sure it's the right CRS? You could use a GIS to have a look at the surface_geometry table (geometry column) and compare with an arial image. You can also use the map window of the importer/exporter. It only shows the bounding box of your area, but it's fine for a qick preview.

anwar1010 commented 6 years ago

Yes, I almost try with every CRS of my country but I still facing such problems sometimes my building is extruded and sometimes it tilts. I usually use importer/exporter bounding box for quick preview they are almost alright.

issue issue2

FxKu commented 6 years ago

Maybe you can post your question in some Sketchup or FME discussion board. To me it appears that a wrong CRS is the only issue here.

FxKu commented 6 years ago

Closing for now as it does not seem to be related with the 3DCityDB tools. Feel free to re-open if I'm wrong ;)