> library(esri2sf)
> url <- "https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Landscape_Trees/FeatureServer/0"
> df <- esri2sf(url)
Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 7.0.0
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
[1] "Feature Layer"
[1] "esriGeometryPoint"
Warning message:
In CPL_crs_from_input(x) :
GDAL Message 1: +init=epsg:XXXX syntax is deprecated. It might return a CRS with a non-EPSG compliant axis order.
I'm going to submit a small PR to circumvent this.
Due to changes in how sf handles coordinate systems, your example code now produces a warning:
I'm going to submit a small PR to circumvent this.