pelias / api

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

Searching for street in foreign language is not supported #616

Open mhamlet opened 8 years ago

mhamlet commented 8 years ago

Hi there.

We are useing OpenStreetMaps as our main data source. When we want to search some building or apartment, it's not possible to search it in English if the address written in Armenian. Like, when I'm searching "Աբովյան 16", it's showing me the relevant result. But when I'm typing the same address in English ("Abovyan 16"), it fails. That's because the "street" field in "address" block in OSM written in Armenian, but the street name itself ("Աբովյան փողոց", or in English - "Abovyan street") is properly translated.

Is the issue related to OSM? Or maybe it's bug of Pelias? If so, we are ready to send pull notification for fixing it if you can show us the source of issue, as we are going to push Pelias to production.

Thanks!

dianashk commented 8 years ago

Hey @mhamlet, thanks for filing the issue. We currently don't support more than one name for a street. We have an Alt-Names milestone in place and are hoping to begin work on it closer to the end of this year.

If you'd like contribute a fix for this it might be best to setup a call and walk you through some of our ideas so we're all on the same page. Let me know if that's something you'd be interested in doing.

Cheers! :wave: