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

Nominatim data location

0

I have a local copy of Nominatim running on a linux VM and I'm trying to find where the data is stored locally. My Nominatim copy is functioning perfectly, I'm just wondering where the ./utils/setup.php --osm-file <your planet file> --all [--osm2pgsql-cache 18000] 2>&1 | tee setup.log line puts the data.

Thanks in advance

asked 17 Aug '16, 12:39

JamesGould's gravatar image

JamesGould
19691020
accept rate: 33%


One Answer:

2

setup.php creates and fills a postgresql database named "nominatim". In the filesystem the postgres data directory is usually /var/lib/postgresql/.

answered 17 Aug '16, 13:10

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

edited 17 Aug '16, 13:10

Thank you so much!

(17 Aug '16, 13:11) JamesGould

Source code available on GitHub .