Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Custom Spatial Match

Kate_Orridge
5 - Atom

Hi, 

Please does anyone know how to create a custom spatial match; 

I'm looking to match where the target intersects with >50% of the universe. 

 

For context I am creating a trade area around a centroid, and blending this with ABS shape files to identify area mesh blocks. In some instances the 'target intersects the universe' match contains the very edge of a mesh block that I would therefore like to exclude. 

(A 'target contains universe' does not capture adequate mesh blocks)

 

I'm very new to spatial analytics and any help would be appreciated!

 

Many thanks!

3 REPLIES 3
BrandonB
Alteryx
Alteryx

Hi Kate,

 

You can do this with a regular spatial match, but then use the spatial info tools afterwards to get the size of the area in question as well as the size of the intersection object. Then you can use a formula tool to divide the area of the intersection object by the area of the thing that you are matching against to see how much of it has matched. Then you follow that with a filter tool where the percent of intersection is >= .5

 

Picture below and workflow is attached

 

Intersection.png

BrandonB
Alteryx
Alteryx

Almost forgot to add, you need to check the box in the Spatial Match tool to output the intersection object so that you have this available downstream:

 

intersection object.png

Kate_Orridge
5 - Atom

Thank you so much, works perfectly!

Labels