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

Nominatim flatnode storage

1

Hello, I have installed Nominatim on CentOS and imported a small set of data for test, everything works nicely. I have enabled flatnode storage of node locations. After my test I deleted the Nominatim db (sudo -u postgres dropdb nominatim) but I didn't delete the flatnode file. Yesterday I started to import a large set of data (Europe) and obviously the operation is still running. Please, I would like to know if I had to delete the flatnode file before to start the new big import. In the odd case I have to repeat my import, please, which are the steps to clean everything and free space on disk.

Thanks

asked 09 Oct '16, 11:37

sramp's gravatar image

sramp
31112
accept rate: 0%


One Answer:

5

It is not necessary to delete the flatnode storage; it will simply be overwritten with your newly imported data. From my experience, the flatnode storage will approximately be even with normal database storage in the Europe case; it will save space if you import more than Europe, and waste space if you import less. But it will usually be a little faster than the database storage.

answered 09 Oct '16, 16:39

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Source code available on GitHub .