AnsweredAssumed Answered

Buffer search with polyline/polygon features

Question asked by bforbhavin on Feb 8, 2015
Latest reply on Feb 12, 2015 by rscheitlin

I have a UC to search equipment within given radius/uom. I use following logic for point features:

 

1) I select one equipment (e.g. EQP1) and find geometry of it. I perform buffer search around this equipment (EQP1) to locate other equipment on the same layer.

2) I find geometry of EQP1 and create Circle of given radius/uom.

3) I pass Circle geometry to QueryTask along with other parameters (e.g. url of the layer, where, outfields, spatialrelationship)

4) This gives me the result of equipment falling under radius/uom of the geometry of EQP1.

 

Now, here EQP1 is a point feature. But how to perform search if EQP1 is polygon/polyline feature? Point feature will have single geometry point so, I can create one circle and get the correct result. With polyline/polygon - points are more than one. In that case, do I need to create circles for each point?

Outcomes