Skip to main content
Question

Geopackage 3D Export

  • November 25, 2019
  • 2 replies
  • 135 views

Hallo everybody,

I'm trying to export an valid CityGML building into a GeoPackage. In the result, I get a bunch of line segments representing the Groundsurfaces and Roofsurfaces with hight. All surfaces / polygones are lost.

I tryed to filter the geometry, so only surfaces go to the writer. Same result.

Does anyone have an idea how to export 3D buildings into Geopackage?

 

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47

I *Think* that you can't properly do this with Geopackage and FME. The doc for the writer suggests that it only supports 2.5D features: https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/geopackage/Feature_Representation.htm

 

 

You might be able to create a 'wkb_geomerty' which supports all geometry types, however, I'm not sure if it works that way or not - I'm not sure what 'all geometries allowed' means here in the doc.

 

 

Your best be may be to create the ground surface with the Z value being the max building height. This should get you an extruded 2.5D representation

 

https://knowledge.safe.com/articles/1553/generating-25d-building-models-from-3d-data.html

I *Think* that you can't properly do this with Geopackage and FME. The doc for the writer suggests that it only supports 2.5D features: https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/geopackage/Feature_Representation.htm

 

 

You might be able to create a 'wkb_geomerty' which supports all geometry types, however, I'm not sure if it works that way or not - I'm not sure what 'all geometries allowed' means here in the doc.

 

 

Your best be may be to create the ground surface with the Z value being the max building height. This should get you an extruded 2.5D representation

 

https://knowledge.safe.com/articles/1553/generating-25d-building-models-from-3d-data.html

Thank you for that idea, wich works well with an LOD1 building, but wont represent any complex structures.

I wonder, but the GlobalMapper does the job on converting GML directly to GP.

Maybe safe will fix this soon :)