Skip to main content
I would like to use the spatialRelator to test if a requestor intersects a candidate but excluding those where it is only the boundaries that touch the candidate.

 

 

See this image:

 

 

Thank you!
Hi,

 

 

You can control kinds of spatial relationships that should be detected with the "Tests to Perform" parameter. Try this setting to exclude the TOUCHES relation.

 

-----

 

Tests to Perform: EQUALS OVERLAPS CONTAINS WITHIN

 

-----

 

See also here to learn more about spatial relations

 

Spatial Relations Defined (http://docs.safe.com/fme/html/FME_Transformers/Default.htm#Transformers/spatialrelations.htm)

 

 

Takashi
In addition to testing for relations_pass-criteria = Touches, as Takashi suggests, you also need to check its cardinality:

 

_relationships{0}.card_line > 0

 

 

Set "calculate cardinality" = Yes.

 

Expose the attribute(s).

 

 

That is, if u wish to exclude objects that only touch by a point ( _relationships{0}.card_point > 0)

 

 


Reply