R-ArcGIS / arcgislayers

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

Fix #166 with improvements to `filter_geom` handling by `arc_select()` #186

Open elipousson opened 2 months ago

elipousson commented 2 months ago

Checklist

Changes

Implement modifications to the handling of the filter_geom parameter by arc_select() (based on the approach initially included in this draft PR: ) including:

Issues that this closes

https://github.com/R-ArcGIS/arcgislayers/issues/166

Follow up tasks

If there is a vignette added in the future with more details on how arc_select() works with filter_geom the edge cases for input handling could be described in more detail. Alternatively, this could be further refactored to handle MULTIPOLYGON geometries by breaking them up into multiple requests where each POLYGON element is used as a separate spatial filter but this seemed like too much complexity to resolve the issue at this time.