Comments (4)
Davin,
What error are you getting? We have used ArcRest to upload thousands of parcels in the community parcel solution app. I believe the developer of that solution did chunk the uploads, but that was due to performance, not the tools failing.
from arcrest.
I've tried adjusting the max_chunk from 250 to 100, 2500, 9000 etc. and saw no change in the results.
I'm using the basic add features sample and get this response.
Traceback (most recent call last):
File "C:\Python\ArcRESTmaster\samples\add_feature_from_feature_class.py", line 20, in <module>
print fl.applyEdits(addFeatures=features)
File "C:\Python\ArcRESTmaster\src\arcrest\agol\layer.py", line 980, in applyEdits
proxy_url=self._proxy_url)
File "C:\Python\ArcRESTmaster\src\arcrest\agol\base.py", line 196, in _do_post
result = urllib2.urlopen(request).read()
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 410, in open
response = meth(req, response)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 448, in error
return self._call_chain(*args)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Python27\ArcGIS10.2\lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
Some features were added each time I tried running. However, the print call does not state which features were successfully added before the error. Changing addFeatures to applyEdits(addFeatures) produced the same issue.
Thanks
from arcrest.
Is this still an issue?
from arcrest.
No this issue was resolved once I removed version 1 from the python environment.
from arcrest.
Related Issues (20)
- createReplica does not work for feature services inside folder HOT 1
- arcrest.ags.server._validateurl() Mangles Compound Web Context Names HOT 5
- Migrating from AGOL to Server HOT 3
- Append with a new Schema and Attachments
- Does this work with Arcgis Online Enterprise accounts? HOT 5
- Can disable sync be used to enable sync? HOT 1
- Attribute error 'module' object has no attribute 'create_default_context HOT 2
- Intermittent HTTP 403 issues using DeleteFeaturesFromFeatureLayer HOT 3
- ArcRest was working then quit--no changes to script HOT 18
- createReplica will not return records for a table HOT 18
- Looking for additional information
- Misspelling for geometry filter? HOT 2
- ArcRest "arcrest.agol.services.FeatureService.createReplica" tool failing HOT 1
- .addFeatures doesn't copy over all features
- Sample script for metadata import
- ArcRest "arcrest.agol.services.FeatureService.createReplica" works on one ArcGIS Online organization but not another HOT 10
- BUG
- create_replica_portal_item.py - Download permissions HOT 1
- usercontent error: HOT 14
- Importing webmap HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcrest.