Select to view content in your preferred language

ESRI.ArcGIS.Client.Geometry. Geodesic.Area problem

1195
4
09-25-2012 02:36 AM
__8
by
Emerging Contributor
Hi,
  I am using ESRI.ArcGIS.Client.Geometry. Geodesic.Area method ,when the parameter Polygon has more than one rings,the method throw an exception " Index was out of range - Must be non-negative and less than the size of the collection. Parameter name: index".
How can I???calculate the area of polygon with serveral rings?
thanks
0 Kudos
4 Replies
DominiqueBroux
Esri Frequent Contributor
I am using ESRI.ArcGIS.Client.Geometry. Geodesic.Area method ,when the parameter Polygon has more than one rings,the method throw an exception " Index was out of range - Must be non-negative and less than the size of the collection. Parameter name: index".


I am unable to reproduce that issue. Could you share a repro case or give more info on how to reproduce the issue?

Thanks
0 Kudos
__8
by
Emerging Contributor
I am unable to reproduce that issue. Could you share a repro case or give more info on how to reproduce the issue?

Thanks

Hi,there is a txt which contains the mappoint coordinates of the polygon with rings ,you can parse the txt and covert it to a polygon.
thanks
0 Kudos
__8
by
Emerging Contributor
I am unable to reproduce that issue. Could you share a repro case or give more info on how to reproduce the issue?

Thanks

Hello? any progress?
0 Kudos
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