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

do tile server and nominatim server installation using the same data importing

0

I want to build a server that provides maps, reverse geocoding and search, I am a newbie to this field and I have tried separate tutorials to build OSM server then Nominatim server on the same box , I saw all of them importing the same OSM data into PostgreSQL database . Now, my question is: is it the same data processed in the two methods? or Do I have to go through the same process of importing data in the two cases? what I think is that, OSM data is imported to PostgreSQL in installing OSM server the same way as it is imported in installing Nominatim server nad the different resides in using rendering tiles in the first and finding addresses in the second. am I right in this ? if that the case, then we can use the same database for the two servers but with different tables . appreciate any help

asked 10 Dec '16, 22:16

johntaa's gravatar image

johntaa
21223
accept rate: 0%


One Answer:

1

Currently they need to be in two separate databases. They can be on the same server of course. Nominatim names it's database 'nominatim' by default so you don't have to worry about one system overriding data of the other.

answered 10 Dec '16, 22:58

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

Source code available on GitHub .