Skip to main content
Solved

SpatialFilter - Geometries within an area

  • June 29, 2016
  • 5 replies
  • 38 views

Forum|alt.badge.img

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

Best answer by david_r

Have you tried using CONTAINS rathar than WITHIN?

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.

5 replies

david_r
Celebrity
  • 8391 replies
  • Best Answer
  • June 29, 2016

Have you tried using CONTAINS rathar than WITHIN?


Forum|alt.badge.img
  • Author
  • 19 replies
  • June 30, 2016

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


Forum|alt.badge.img+2
  • 1891 replies
  • November 7, 2022

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.