Does any pelias service needs wof bundles to work?

196 views Asked by At

I have downloaded wof data with import place. As a result, i have ended up having meta and data directories created by pelias/whosonfirst data importer. I imported these directories with pelias import wof command. Now, I am not sure whether I can delete these directories or not.

I have looked up to pelias docs and got confused about what to do. At first, I see at pelias/pelias. I thought that only elasticSearch file would be enough for all services. How pelias works part made me think like that. Later on, I came across the the pelias/docker page and see that there is a section describing cleaning up temporary files. There was no suggestion for deleting whosonfirst data bundles. Therefore, I thought that whosonfirst data bundles are necessary for pelias.

While reading the full planet considerations for pelias, I came across a section suggesting using different clusters for importing data and geocoding. In that section, taking a snapshot of elasticsearch index and loading it to a different cluster for geocoding is suggested. This made me think that just elasticsearch index is enough for all the pelias services.

At this point, I wonder deleting wof files would have an effect on pelias services?

1

There are 1 answers

0
orangejulius On BEST ANSWER

Yes, the pip-service requires who's on first data to exist on disk.

It loads WOF data directly from the individual .geojson files or sqlite database on startup, so the files must be present permanently or you can't restart the service.