Select to view content in your preferred language

Bug in Add GP Tool, counter clockwise polygon invalid feature

605
1
08-24-2012 07:41 AM
CMICNRE
Deactivated User
I have found a bug with the Viewer Add GP Tool, thought I'd share my pain.  I have a geoprocessing service that only requires an input polygon digitized by the user.  In my model, the featureset is converted to a feature class with Copyfeatures tool, then the geometry is used to extract some raster data.  The tool works fine when the polygon is digitized in a clockwise direction, but an invalid feature with negative area is produced, if digitized in a counter-clockwise direction in the Viewer.  The check geometry tool confirms that the counter-clockwise feature has invalid ring ordering, so I'm using the Repair Geometry tool in my model as a work around.
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
You can also use the Simplify geometry service.
There is a sample here : http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#Simplify
0 Kudos