pelias / api

HTTP API for Pelias Geocoder
http://pelias.io
MIT License
218 stars 162 forks source link

Pelias: Updating the street data #1634

Closed dawidl11 closed 2 years ago

dawidl11 commented 2 years ago

Hi there,

I have a question regarding searching with Pelias for specific streets.

What am I using? I created a Pelias snapshot with the latest OSM data and searched for specific streets.

What is the problem? Unfortunately, when searching for "Bolko-von-Hochberg-Straße Görlitz" I get no hit (the street is not found). The street exists since 2020 and is already present in the OSM data.

My question: That's why I have the question: which data sources would I still have to update so that the street I mentioned is also found with Pelias?

Many thanks in advance for the answers!

missinglink commented 2 years ago

Please provide the OSM ID of the expected way and post a copy of your pelias.json file with appropriate formatting.

I suspect you're referring to this street but you've not provided enough information for another developer to reproduce your error, which makes it difficult for me to comment on why it's not working for you, but is working on Geocode Earth.

dawidl11 commented 2 years ago

Thank you for this information. You are right. The street consists of several Ways. Whose OSM IDs are: 960782661, 961087331, 24416272, 116345661. pelias.zip

missinglink commented 2 years ago

Do you have any streets in your index? Try running pelias elastic stats to see.

I suspect that you've triggered this error and not noticed?

dawidl11 commented 2 years ago

Now I have checked. Yes, we have polyline data that we download from the following website: https://geocode.earth/data (planet-latest-valhalla.polylines.0sv.gz). Our data have the date 2020-07-21.

Since there are no newer ones on the website, I wanted to ask if it is possible to update them myself?

missinglink commented 2 years ago

I've updated the polylines downloads at https://geocode.earth/data The new download is https://data.geocode.earth/osm/2022-35/planet-latest-valhalla.polylines.0sv.gz

dawidl11 commented 2 years ago

Great, thanks for the update! We will soon import the data into our new Pelias snapshot

missinglink commented 2 years ago

For future reference, these files are generated using valhalla as documented on the polylines repo.