Complex Polygon Fails in Query Task

436
2
04-24-2012 12:51 AM
LakshmananVenkatesan
Occasional Contributor II
hello

I am doing a query task using SLIVERLIGHT API 2.1, it fails and returns "Unable to complete Operation." as a message in failed event. No stack trace available.
I am working on spatial intersection with a polygon layer on a input geometry. But input geometry is bit complex, i.e it has one small inner ring. Please see attached image

a) What is best method to clean this shape? and make it is a validate shape.
b) why query task returns generic message unable to complete operation, why detailed error message is not given

Kindly help me on this
0 Kudos
2 Replies
MuzammilAK
New Contributor
I prefer to simplify the polygon first.


Regards
Muzammil
0 Kudos
DeminHu
New Contributor
I agree with Muzammil:

Check 2 things : spatial reference and  simplifying  of  the filter geometry
0 Kudos