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

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."

alt text

From the terminal, I find that it make a request to the openstreetmap database. alt text 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's gravatar image

yuyy
236222431
accept rate: 20%


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

permanent link

answered 19 Aug '16, 14:42

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

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
×204
×4

question asked: 19 Aug '16, 14:19

question was seen: 4,359 times

last updated: 19 Aug '16, 14:42

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