R-ArcGIS / arcgislayers

ArcGIS Location Services
http://r.esri.com/arcgislayers/
Apache License 2.0
39 stars 9 forks source link

Add `page_size` argument to `arc_select()` #146

Closed JosiahParry closed 7 months ago

JosiahParry commented 7 months ago

Checklist

Changes

This PR adds a page_size argument to arc_select() which permits us to have more control over the total number of features that are returned on a per-request basis. This will allow us to overcome the issue of timeouts with dense geometries.

Closes

Follow up tasks

JosiahParry commented 7 months ago

Relatedly, this will let us close https://github.com/R-ArcGIS/arcgislayers/issues/138 as it gives us a working solution to the problem. It will not be automagical but it will be doable!

JosiahParry commented 7 months ago

@mmachir could you please review and test when you get a chance? To install you can run:

# get the most recent dev version of {arcgisutils} if it hasn't
#  been updated since token overhaul
pak::pak("r-arcgis/arcgisutils")

# install branch:
pak::pak("r-arcgis/arcgislayers@batch_size")