pelias / openstreetmap

Import pipeline for OSM in to Pelias
MIT License
112 stars 72 forks source link

unable to locate sqlite folder #544

Closed ghost closed 3 years ago

ghost commented 3 years ago

While trying to run the sqlite exporter from the official docker image, I get the following error:

/code/pelias/openstreetmap/node_modules/pelias-wof-admin-lookup/src/localPipResolver.js:19
      throw err;
      ^
unable to locate sqlite folder

This error seem to come from the whosonfirst module, however the README from the openstreetmap exporter does't mention any required configuration related to whosonfirst. Should I first configure download the whosonfirst data with the pelias/whosonfirst docker image and then run the openstreetmap exporter?

missinglink commented 3 years ago

Yes you will need to download the whosonfirst data before continuing with the openstreetmap import. https://github.com/pelias/openstreetmap#administrative-hierarchy-lookup

ghost commented 3 years ago

Great, thanks for the quick answer. Maybe the Readme or the error message could be clarified because it was not obious.