Esri / ArcREST

python package for REST API (AGS, AGOL, webmap JSON, etc..)
Apache License 2.0
192 stars 155 forks source link

py3 fix for `AddFeaturesToFeatureLayer()` #164

Closed pLeBlanc93 closed 8 years ago

pLeBlanc93 commented 8 years ago

breaks.append(maxOID+1) would fail on py3 as breaks is a range object. Need to call list().

Consolidated sql queries to create a single cursor that obtains min/max OID.