NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello,

I need a batch geocoding server so I set up one in docker. But I need to do geocoding in R and package hrbrmstr/nominatim is mostly recommended for that. But it only provides the function for query to public OSM server. 'Enable switching Nominatim API server providers' is on its TODO list and the repo was updated two years ago. Is there any other solution for that. Thank you!

asked 02 Oct '17, 13:04

Jimmy_Jin's gravatar image

Jimmy_Jin
31223
accept rate: 0%

edited 04 Oct '17, 19:48

scai's gravatar image

scai ♦
33.3k21309459


I've never so much as looked at R but I suspect the answer is fork https://github.com/hrbrmstr/nominatim in github, search your copy for references to "openstreetmap.org" and change them to point at your nominatim server.

Or have you tried that and it is more complicated than that?

permanent link

answered 02 Oct '17, 13:21

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

1

looks like there's a file specifying the querying URL

(02 Oct '17, 14:07) Jimmy_Jin

OK, I've tried that. It the package has a dependency of Mapquest API which only requires a hash instead of a public URL. So by code hacking, it's not doable.

(03 Oct '17, 08:22) Jimmy_Jin

Out of interest, which Mapquest API? I'd have thought that pretty much everything that Mapquest provide is available somewhere else (including self-hosted, but there may be practical reasons why that's not an option).

(03 Oct '17, 08:45) SomeoneElse ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×10

question asked: 02 Oct '17, 13:04

question was seen: 2,720 times

last updated: 04 Oct '17, 19:48

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum