R-ArcGIS / arcgisgeocode

Utilize public or private ArcGIS Geocoder Services from R. Provides reverse geocoding, candidate search, single address, and batch geocoding.
http://r.esri.com/arcgisgeocode/
Apache License 2.0
40 stars 6 forks source link

Illustrate how to use other geocoders #7

Open JosiahParry opened 8 months ago

JosiahParry commented 8 months ago

This package can be used with any locator that is hosted. For example this search turns up many locators:

https://www.arcgis.com/home/search.html?restrict=false&sortField=relevance&sortOrder=desc&focus=tools-locators#content

rafapereirabr commented 5 months ago

Hi @JosiahParry . We don't have an ArcGIS Enterprise license. We only have a license of ArcGIS Pro, which we have been using to do batch geocoding analysis using a locator stored locally.

Is there a way to use {arcgisgeocode} using a locator stored locally? Something similar to this?

address_nc <- "C:/StreetMap/LA_Q124_Locators",
  token = NULL
)

res <- find_address_candidates(
  address = "rowan coffee",
  city = "asheville",
  geocoder = address_nc
)
JosiahParry commented 5 months ago

Hm. Let me reach out to my team and see about this. I believe it needs to be hosted on ArcGIS Online or Enterprise. Are you able to publish it as a private locator on ArcGIS Online?

rafapereirabr commented 5 months ago

Unfortunately, we would need an Enterprise license to upload a private locator on ArcGIS Online. :(

JosiahParry commented 5 months ago

Hm. I wasn't able to find out much internally. The way that arcgisgeocode works is that it calls REST API endpoints. In order to use a file locator it needs to be deployed to a server which I think has to be an ArcGIS Server (part of Enterprise?) https://pro.arcgis.com/en/pro-app/latest/help/data/geocoding/share-a-locator.htm

Though I'm not certain if that is the only option.