GIScience / openrouteservice-r

:globe_with_meridians: query openrouteservice API from R
https://giscience.github.io/openrouteservice-r/
Apache License 2.0
98 stars 23 forks source link

Geocode - boundary.country #59

Closed bartekbursa closed 4 years ago

bartekbursa commented 4 years ago

Is there any way to specify more than one boundary country in the ors_geocode() ? Will it accept a vector with many country codes?

Cheers Bartosz

bartekbursa commented 4 years ago

I was meaning something like: ors_geocode("Heidelberg", boundary.country = c("DE", "AT", "IT", "US", "GB", "CH"))

aoles commented 4 years ago

Hi Bartosz,

multiple countries can be specified in a comma separated character string like so:

ors_geocode("Heidelberg", boundary.country = "DE,US")

Cheers, Andrzej