Skip to content

Commit 263d57a

Browse files
committed
Let's be a little more explicit about the transfer limit
1 parent f6addc2 commit 263d57a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arcgis/arcgis.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ def get(self, layer, where="1 = 1", fields=[], count_only=False, srid='4326'):
134134
# We always want to run once, and then break out as soon as we stop
135135
# getting exceededTransferLimit.
136136
while True:
137+
print "."
137138
features += [self.esri_to_geojson(feat, geom_parser) for feat in jsobj.get('features')]
138-
if jsobj.get('exceededTransferLimit'):
139+
if jsobj.get('exceededTransferLimit') == True:
139140
break
140141
# If we've hit the transfer limit we offset by the last OBJECTID
141142
# returned and keep moving along.

0 commit comments

Comments
 (0)