Question

Surface Normal of citygml roof surfaces


Hello,

I am loading citygml data with the OGC Citygml Reader and afterwards I want to calculate the normal vector of each roof surface.

How can this be done in FME for a big data set? Using the SurfaceNormalExtractor I get some errors that result in stopping the calculation. After sorting out that surface I have to restart the reader and the surface normal extractor. Is there a better workaround?

Thank you for your help in advance!


7 replies

Badge +11

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Desktop/Workbench/options_workspace_defaults.htm

image

Thank you for your reply!

I have already chosen "Continue Translation". Unfortunately, this setting does not work for the transformer SurfaceNormalExtractor. Does someone have another idea?

Badge +11

Hi @bschweiger​ you can upload a test data set and workspace?

Userlevel 4
Badge +26

Check out the PlanarityFilter - there is an option there to extract the Surface Normals​ - it is by far the fastest approach. http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/planarityfilter.htm#

Hi @bschweiger​ you can upload a test data set and workspace?

Hey,

since I am using unpublished data, I will search for another data set with the same problem. I hope to find some time this evening.

Check out the PlanarityFilter - there is an option there to extract the Surface Normals​ - it is by far the fastest approach. http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/planarityfilter.htm#

Hey,

another transformer would be really great!

I just checked the planarity filter, and I always get empty colums for the three surface normal cooordinates. Is it possible that the planarity filter can be just used for checking the planarity by specifying a normal vector?

Hi @bschweiger​ you can upload a test data set and workspace?

Hi,

with the free available LoD2 data set (EPSG 31256) below, I get the same problems with the surface normal extractor:

https://www.wien.gv.at/stadtentwicklung/stadtvermessung/geodaten/dachmodell/daten-lod2.html

You also find attached the workbench.

Thank you very much!

Reply