Open walker opened 4 years ago
arc server will return that as part of the object @walker ?
@chris-prener: Here's an example on the v4 composite geocoder where I've set outSR to 4326, EPSG's wgs84 code.
The "outSR" parameter details here-ish has some helpful links: https://developers.arcgis.com/rest/services-reference/find-address-candidates.htm#GUID-76762A8B-B1C1-4038-88C3-9449E2BCE736
This is helpful - the wkid
is nice.
I think what is happening when calling st_transform is that you're reprojecting coordinates returned by the ArcServer.
https://github.com/slu-openGIS/gateway/blob/master/R/geocode_api.R#L194 https://github.com/slu-openGIS/gateway/blob/master/R/geocode_api.R#L93
I would suggest that you just ask the arcserver for the EPSG projection to be returned, in the request, rather than relying on the default.