Solved

SpatialFilter - Geometries within an area


Badge

Hi,

I wanna test if geometries are within an given area, I found the Spatialfilter transformer, but it doesn't work as expected.

Geometries that i'd like to test were set as Candidate, the area as Filter and Tests to perform to Within. But it does not test for candidates within the filter, instead it tests if the filter is within the candidate, which is not what i want to achieve.

Do you have an idea what I am doing wrong, or what I can change to make it work?

I am using FME Desktop 2015

thx & br,

mel

icon

Best answer by david_r 29 June 2016, 16:37

View original

5 replies

Userlevel 4

Have you tried using CONTAINS rathar than WITHIN?

Badge

Have you tried using CONTAINS rathar than WITHIN?

Thanks, that seems to work.

Hi,

I have this problem. I want to have geometry after using spatialfilter, but it gives me just text as a output.

what I can change to make it work?

 

 

23

Badge +2

Hi,

I have this problem. I want to have geometry after using spatialfilter, but it gives me just text as a output.

what I can change to make it work?

 

 

23

@engshabanpour13​ make sure both Filter and Candidate features are in the same coordinate system. Lots more on spatial comparison here.

@engshabanpour13​ make sure both Filter and Candidate features are in the same coordinate system. Lots more on spatial comparison here.

thank you so much.

 

Reply