Select to view content in your preferred language

Problem with Editor Widget and cutting line features

943
1
01-05-2011 08:38 AM
KeithPalmer
Emerging Contributor
Is anybody else out there having problems cutting line features in the Editor Widget when you have more than 1 layer on the Template list?  I am using the latest Flex Viewer and REST API.  When I have a polygon feature layer and a line feature layer loaded in the Editor Widget the cut will not work on the line feature.  If I remove the polygon layer, cut works fine for the lines (ok "fine" is a relative term.  Fine would be cutting only the selected line feature and not every line feature the "cut" line crosses, but I can deal with that).  I'm trying to figure out if this is a REST API bug or a "feature" of the Editor Widget.

Thanks,
-Keith
Tags (2)
0 Kudos
1 Reply
AniketWani
Esri Contributor
Rest cut operation supports only polygon or polyline (http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/cut.html) but I will add this as enhancement request in flex api for next release.

Cut operation works as expected if you cut only polygon or polyline at a time, though you have both layers in your application.
0 Kudos