R-ArcGIS / arcgislayers

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

arc_read() ignores `n_max = Inf` #170

Closed JosiahParry closed 2 months ago

JosiahParry commented 6 months ago
res <- arc_read("https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_ZIP_Code_Points_analysis/FeatureServer/0", n_max = Inf)

compare this with setting n_max = 1e10

elipousson commented 6 months ago

I think I fixed this by always using the n_feats instead of n_max if n_max is infinite 9c130e8 (#167). After the refactor in that PR, I was actually getting an error with n_max = Inf which is why I touched this part.