nominatim icon indicating copy to clipboard operation
nominatim copied to clipboard

osm_geocode() not returning results for some addresses

Open JustGottaCAT opened this issue 6 years ago • 3 comments

osm_geocode appears to only return results for cities, not addresses.

For example, these return results:

osm_geocode("Seattle, Washington", key = osm_api)

osm_geocode("Los Angeles, CA", key = osm_api)

This does not: osm_geocode("1600 Pennsylvania Ave, Washington, DC.", key = osm_api)

Nor this: osm_geocode(c("1600 Pennsylvania Ave, Washington, DC.", "1600 Amphitheatre Parkway, Mountain View, CA"), key = osm_api)

Nor does this: osm_geocode(address_list, key = osm_api), where "address_list" is any list of specific addresses stored in a character vector.

Would there be a reason for this?

JustGottaCAT avatar Oct 11 '18 17:10 JustGottaCAT

Found the same issue here. If I try: osm_geocode("New York City", key = key)

|++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed = 00s
  place_id                                                                              licence osm_type
1 47642168 Data © OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright     node
      osm_id      lat       lon
1 3612623588 34.67323 -1.914644

But, if I try any address like: osm_geocode("153 AVENUE B, New York City", key = key)

|++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed = 00s
# A tibble: 0 x 0

felipefmoreira avatar Dec 30 '18 23:12 felipefmoreira

I am experiencing same issue R 3.5.3, latest dev version nominatim.

AgentRatty avatar Aug 04 '20 22:08 AgentRatty

I am also experiencing this problem.

pol-todo avatar Feb 15 '22 15:02 pol-todo