Select to view content in your preferred language

cannot save edits of feature service

921
2
Jump to solution
12-13-2013 02:01 PM
SeanConlon
Occasional Contributor
I???m trying to reshape the boundaries of a polygon using the javascript samples located here:https://developers.arcgis.com/en/javascript/jssamples/util_reshape.html I downloaded the zip file, plugged in the URL of my feature and geometry service, and hosted it on a webserver: http://www.navmaps.alaska.gov/kusko/reshape_kusko.html I???ve published a feature service to a external ArcGIS server, from desktop using feature classes in SDE ??? ( both running Arc 10.1) here:http://www.dmlwmaps.dnr.alaska.gov/agsweb/rest/services/kuskokwim_indexing/FeatureServer/0  I???ve registered the  feature class  on the server. But when I try to edit the polygons and it appears to let me but the edits don???t save to the feature class.
Can anyone help? What am I missing?
thanks
0 Kudos
1 Solution

Accepted Solutions
BjornSvensson
Esri Regular Contributor
I'm not sure WHY it's happening, but the error is:
"error":{"code":1015,"description":"Geometry could not be set."}

Maybe it is related to projections/extents in the data, see for example http://forums.arcgis.com/threads/67999-Geometry-could-not-be-set

View solution in original post

0 Kudos
2 Replies
BjornSvensson
Esri Regular Contributor
I'm not sure WHY it's happening, but the error is:
"error":{"code":1015,"description":"Geometry could not be set."}

Maybe it is related to projections/extents in the data, see for example http://forums.arcgis.com/threads/67999-Geometry-could-not-be-set
0 Kudos
SeanConlon
Occasional Contributor
update: Bjorn's suggestion and link was pretty darn close. I changed my source data to Web Mercator and I was able to reshape the polygons and have them save back to my server and SDE database.

thanks Bjorn

BTW,  How did you see that error?
0 Kudos