1

I created a pelias database using pelias/whosonfirst with configuring imports.whosonfirst.importPlace with Turkeys wof id at pelias.json file. Now I want to add United Kingdom too but i don't want to download the entire database(27 GB). Is it possible too extract this data from already installed whosonfirst-data-latest.db?

I used pelias download wof command after installing pelias/docker from github. It installed the database to the $DATA_DIR specified in .env file with imports.whosonfirst.importPlace: [turkey_wof_id] configuration.

Prozeke
  • 15
  • 3

1 Answers1

0

The whosonfirst importer will reuse the existing whosonfirst-data-latest.db file if there has not been an updated version released since you last downloaded the data.

At this time (August 2019), the file was last updated in May, so it will automatically be reused in your case.

You can learn more in the (recently updated) downloader documentation

orangejulius
  • 989
  • 1
  • 10
  • 23
  • Thank you for your answer. Is it possible to directly use the installed database instead of checking the latest version from the internet. Btw, I get an 404 error from the link you have provided. – Prozeke Aug 20 '19 at 08:32
  • Oops thanks, link is fixed. Avoiding the version check [may be supported in the future](https://github.com/pelias/whosonfirst/issues/340) – orangejulius Aug 20 '19 at 09:43