Compare multiple polygon geometry

647
1
01-06-2011 01:21 AM
AshishRai
New Contributor
Hi,

I have a service returning multiple polygons having same geometry but different attributes as a result all the geometries are getting overlapped on top of other so all the polygons are getting hidden below the top one.

Is there any way i could get all the features having same geometry or in other words, how can we compare between geometry objects?

Thanks in advance,
Ashish
0 Kudos
1 Reply
HemingZhu
Occasional Contributor III
Hi,

I have a service returning multiple polygons having same geometry but different attributes as a result all the geometries are getting overlapped on top of other so all the polygons are getting hidden below the top one.

Is there any way i could get all the features having same geometry or in other words, how can we compare between geometry objects?

Thanks in advance,
Ashish


using geometry service 's method: relation(relationParameters, callback?, errback?). Note: relationParams.relation = esri.tasks.RelationParameters.SPATIAL_REL_IDENTICAL; In callback, using relation.geometry1Index or relation.geometry2Index to locate the compared geometry... You can look into ESRI samples for more detail
0 Kudos