hove-io / navitia

The open source software to build cool stuff with locomotion
https://www.navitia.io/
GNU Affero General Public License v3.0
434 stars 126 forks source link

Localized adressing #334

Open koch-t opened 10 years ago

koch-t commented 10 years ago

Especially on long streets, it's desirable to enable exact search on housenumbers.

l-vincent-l commented 10 years ago

What do you mean? You want navitia to return every housenumber of the street, or the opposite?

koch-t commented 10 years ago

Not return, but when a user inputs a number it should search housenumbers. For example Search on Rue de Bellevue -> Just streets Search on 3 Rue de Bellevue -> All 3's on Rue de Bellevue's

For example: https://1313.nl/geocoder/Oude%20Trambaan https://1313.nl/geocoder/Oude%20Trambaan%203

TeXitoi commented 10 years ago

http://api.navitia.io/v1/coverage/fr-idf/places?q=3%20Rue%20de%20Bellevue gives you all the address "3 Rue de Bellevue" within the different cities, and http://api.navitia.io/v1/coverage/fr-idf/places?q=Rue%20de%20Bellevue gives you the different "Rue de Bellevue" within the different cities. Is it what you want? If not, What's wrong with that?

koch-t commented 10 years ago

Mmh i probably searched on "Rue de Bellevue 3" which is the Dutch locale for adress formatting. Seems Navitia does search on housenumbers, but only if the number is put first. Maybe the ticket should be redrafted into "Localized adressing". Germany uses streetname,housenumber as well. http://en.wikipedia.org/wiki/Address_(geography)#Mailing_address_format_by_country