Select to view content in your preferred language

Not able to update geometry of existing features

2486
1
10-27-2015 11:31 AM
GianniContino
Occasional Contributor
Hello,

I have a problem with Java SDK 10.2.4.

I have a ArcGISFeatureLayer on a server arcgis of 10.2, with a data-source table Oracle12c.

By JAVA SDK I am able to create new features and updates only attributes of existing ones.

I'M NOT ABLE TO UPDATE GEOMETRY of existing Features.

The method isAllowGeometryUpdates () of FeatureLayer actually returns a FALSE.

I could not figure out where to set this parameter to TRUE in the arcgis server manager (or even in the server admin always).

Another clue is that in the log file of the server arcgis, the users who connect to the service is "anonymous".

What is needed to enable the java class to do update of geometries?
thanks
0 Kudos
1 Reply
EricBader
Honored Contributor

Does your code work as expected with features from a FeatureService used in any of the samples?

For example, http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer, from the sample: Online editing | ArcGIS for Developers ?

0 Kudos