Skip to main content
Solved

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


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

View original
Did this help you find an answer to your question?

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
david_r wrote:

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings