Frédéric Rodrigo
Frédéric Rodrigo
Cedex et son code postal pourait être supprimé dans un plugin spécifique France
'CEDEX' n'est probablement pas retiré au bon moment, il influe sur le résultat: http://api-adresse.data.gouv.fr/search/?autocomplete=0&q=95153+TAVERNY+CEDEX&limit=1 => Rue de Taverny 95130 Franconville http://api-adresse.data.gouv.fr/search/?autocomplete=0&q=95153+TAVERNY&limit=1 => 95150 Taverny
Il faudrait peut-être la même chose mais à deux niveaux ? - les changements que l'on est "sûr" de vouloir appliquer (cedex, cs, pb), - ceux un peu trop magique...
It's obivious to me that the default should be "get the closest result with best details" (easy isn't ?). > Why not adding &type=housenumber in the URL? If the closest...
As addok is language/country specific. Allow detection and remove of the country from the query
So, maybe not remove. But have a 'fake' index on constant values on the data set like country or state.
May be you can do it with two addok, one for FR, one for NL and add a wrapper on top of this to return the best results. I already...
Same problem with "Lalouvesc" and "La Louvesc"
Again, "Lételon" and "l'Ételon", "Champ-Laurent" and "Champlaurent"
I think it's better and simple to have always street in the street field, and so on, whatever the result type.