Select to view content in your preferred language

Any suggestion on edit features participated in geometric network?

258
2
Jump to solution
09-20-2024 03:47 AM
baohuachu2
Emerging Contributor

Have about 2000 points and lines features to be added in geometric network.  Is it possible to use Javascript SDK feature service's applyEdits to do it? I tested on the rest service page to use applyEdit method, the time is more than default arcgis server's max time(10minutes). 

0 Kudos
1 Solution

Accepted Solutions
mleahy_cl
Regular Contributor

Does it work if you do it in smaller batches?  I've had to do that in some situations where the complexity of the data (e.g., very large/detailed polygons) would occasionally cause applyEdits on a regular feature service to timeout.  The simplest solution in my case was to reduce the number of records that are added/updated in each request.

View solution in original post

0 Kudos
2 Replies
mleahy_cl
Regular Contributor

Does it work if you do it in smaller batches?  I've had to do that in some situations where the complexity of the data (e.g., very large/detailed polygons) would occasionally cause applyEdits on a regular feature service to timeout.  The simplest solution in my case was to reduce the number of records that are added/updated in each request.

0 Kudos
baohuachu2
Emerging Contributor

By reducing the number of features of each request, increase the gis server instances, it works. On my server each request put 500 features, the time is about  3 minutes .

0 Kudos