I have set up the rails port on ubuntu14.04, and then I build my local tile server under the instruction of "Manually building a tile server (14.04)". And I have changed the OSM map to my local tile server. The nominatim is still use the http://nominatim.openstreetmap.org/ Now I confused that how does the nominatim work with the tile server and rails port. As I konw there are three database being used in the project: openstreetmap database used in the rails port, gis database used in the tile server and a nominatim database. If I make a search request on the http://localhost:3000 website, first it will ask http://nominatim.openstreetmap.org/ and return several results, and if I click on one of the result, it returns "Sorry, relation #912940 could not be found." From the terminal, I find that it make a request to the openstreetmap database. I want to know how does the nominatim connect to the openstreetmap database. I also want to know how does the nominatim work with my local tile server. Hope someone can help me, thanks. asked 19 Aug '16, 14:19 yuyy |
The server(s) behind http://nominatim.openstreetmap.org/ have loaded the full planet data once and apply minutely updates since them. In theory it finds every (named) OSM feature. The database is completely separate from tiles or the rails port. It runs on the nominatim.openstreetmap.org servers and takes about 700GB-1TB in size. The rails port sends a HTTP/REST query to Nominatim http://wiki.openstreetmap.org/wiki/Nominatim#Search and receives a data structure (JSON? XML?). You can setup your own Nominatim instance and database of course, it's not part of the tile server instructions. You can then import the pull planet or an extract, e.g. a country. Nominatim can be installed on the same server on a separate server. http://wiki.openstreetmap.org/wiki/Nominatim/Installation answered 19 Aug '16, 14:42 mtmail |