Skip to content

Commit

Permalink
Merge pull request #36 from thatdatabaseguy/master
Browse files Browse the repository at this point in the history
Allow retrieving >= maxRecordCount when doing quadrant partitioning
  • Loading branch information
iandees authored Mar 1, 2017
2 parents a039e87 + 9d44542 commit fe5ade9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esridump/dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def _split_envelope(self, envelope):
def _scrape_an_envelope(self, envelope, outSR, max_records):
features = self._fetch_bounded_features(envelope, outSR)

if len(features) == max_records:
if len(features) >= max_records:
self._logger.info("Retrieved exactly the maximum record count. Splitting this box and retrieving the children.")

envelopes = self._split_envelope(envelope)
Expand Down

0 comments on commit fe5ade9

Please sign in to comment.