This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Possible to use one DB for Nominatim and Tile-Server

1

Hello guys,

it is possible to use only 1 database for a tile-server (mod_tile) and nominatim? Or I need to create a seperate one for the nominatim-search?

thanks in advance

asked 16 Nov '16, 15:06

hevilp's gravatar image

hevilp
31558
accept rate: 0%


One Answer:

6

You will currently need two database instances (which naturally can be created in the same "database" you will likely have to change the default name of one of them).

PS: this only makes sense if we are talking about a small extract of OSM data and yes some of the information is duplicate in such a setup.

answered 16 Nov '16, 15:09

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 16 Nov '16, 15:10

Is it still valid in 2018? Why can't both services use the same schema in DB? What data is different and what is duplicated?

(04 Jun '18, 11:22) Defozo
1

Major parts of the database schema are different (as the use case is very different).

(04 Jun '18, 12:07) SimonPoole ♦

Source code available on GitHub .