Skip to content

Commit b637a8b

Browse files
committed
Fixed a bug with exceededTransferLimit (which I thought I just fixed and did not)
1 parent 94c47c1 commit b637a8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arcgis/arcgis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def get(self, layer, where="1 = 1", fields=[], count_only=False, srid='4326'):
135135
# getting exceededTransferLimit.
136136
while True:
137137
features += [self.esri_to_geojson(feat, geom_parser) for feat in jsobj.get('features')]
138-
if jsobj.get('exceededTransferLimit') == True:
138+
if jsobj.get('exceededTransferLimit', False) == False:
139139
break
140140
# If we've hit the transfer limit we offset by the last OBJECTID
141141
# returned and keep moving along.

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name='arcgis-rest-query',
11-
version='0.0.9',
11+
version='0.0.11',
1212
description='A tool to download a layer from an ArcGIS web service as GeoJSON',
1313
author='Ken Schwencke',
1414
author_email='[email protected]',

0 commit comments

Comments
 (0)