Skip to main content
Solved

Is the GeometryFilter altering the data or the way the data is presented to the writer?

  • July 11, 2023
  • 2 replies
  • 38 views

ponceta
Contributor
Forum|alt.badge.img+7

I have a dynamic workflow that writes spatial data from a MS SQL Server to a postgis database. Since my inital data is not always restrictive on geometry types, I want to ensure that Geometry types are well defined in my destination database.

 

I had an issue with mixed lines and multilines that I solved using an aggregator (destination geometry (multilinestring) ) but I had some geometry collections creating some issues when writing data so I added a GeometryFilter.

 

Visually no feature is filtered (only lines) and the writing is doing great. Removing this filter will make the writing fail.

 

My question is then : Is the GeometryFilter altering the data or the way the data is presented to the writer?

 

image

Best answer by david_r

If you're using Simple mode in the GeometryFilter, FME will try to homogenize heterogeneous collections, see the manual, under Parameters / General / Mode:

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/geometryfilter.htm

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

david_r
Celebrity
  • Best Answer
  • July 11, 2023

If you're using Simple mode in the GeometryFilter, FME will try to homogenize heterogeneous collections, see the manual, under Parameters / General / Mode:

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/geometryfilter.htm


ponceta
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 11, 2023

If you're using Simple mode in the GeometryFilter, FME will try to homogenize heterogeneous collections, see the manual, under Parameters / General / Mode:

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/geometryfilter.htm

So there's actually some little magic behind the scenes! Thank you for your feedback!