Select to view content in your preferred language

geodesic area method getting error for features with holes (donuts)

1241
2
10-05-2012 08:19 AM
ArtUllman
Emerging Contributor
I am getting the following error whenever I run the geodesic.area method on any feature that has hole (i.e. donuts).  I get:  Index was out of range.  Must be non-negative and less than the size of the collection.  Parameter name: index

This is with Silverlight API version 3.0.0.288 running under Silverlight 5.1.

By the way, the geodesic functions are great.
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
We have reproduced the issue that should be fixed in the next version.

At this time, the workaround might be to create one polygon by ring and to sum the area by yourself.

Thanks for reporting that.
0 Kudos
ArtUllman
Emerging Contributor
Thanks!  The geodesic functions sure are great!

Art Ullman
0 Kudos