Select to view content in your preferred language

How to query for Spatial Relationships

731
0
01-23-2012 06:38 AM
RichardBetts
Deactivated User
Hi

Hoping someone can help here...
I have a particular 'target' geometry and I'm looking for the best way to query a number of other layers for features with any kind of spatial relationship with my target, plus I want to know what that relationship is (Intersect, Touch etc).

I'm happy enough specifying a specific spatialRelationship parameter and my input geometry for a QueryTask but obviously I don't want to issue several separate queries to cover all possible relationship types and I'm not sure how the SPATIAL_REL_RELATION option works.

I've also had a look at using the geometry service relation method but again I'm not clear on how to use Shape Comparison Language.

I imagine creating a custom geoprocessing task may also be an option, but I'm wondering if I've missed something obvious and hopefully more straightforward?

Thanks

Richard
Tags (2)
0 Kudos
0 Replies