The GP Analysis Tool, Spatial Join has a Match Option parameter of "Largest Overlap" that doesn't appear in the otherwise-identical list of Select Layer By Location.
It'd be nice if I could use that new toy across all other contexts where I'm doing things between two datasets based on their locations.
Right now, the selection-only operation seems to require the use of intermediate datasets, which is a bit undesirable—especially for the option that I'm more likely to reach for when I don't want other datasets being created.
The Largest Overlap option was added to Spatial Join only, as Spatial Join does a one by one operation for each target feature, where each target feature is examined to determine if any join features have a spatial relationship with that target feature. If many join features have the spatial relationship with the one target feature, Largest Overlap joins the join feature that has the largest overlap to the target feature.
Thinking about Select Layer By Location is different. Any input feature gets selected if it has the spatial relationship with any selecting feature. There is no handling about what if an input feature overlaps multiple selecting features, or if multiple input features overlap the same selecting feature.
Imagine this case, where a green feature overlaps a big orange feature (id=1) and a small orange feature (id=2).
If you can graphically describe what your expectation is between two feature layers and how a selection could be performed based on a Largest Overlap relationship, please share the details to get this issue reopened for votes/consideration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.