Bonjour,
j’ai fait un test de recherche avec mon adresse, et le résultat ne correspond pas du tout:
Mon adresse physique est: 20 rue de Dornach, 68120 PFASTATT
J’ai donc fait cette recherche:
https://api-adresse.data.gouv.fr/search/?q=20+rue+de+dornach&city=Pfastatt
Le résultat rectourne plusieurs propositions, mais la bonne adresse n’est qu’en 2ième position !!
` {« type »: « FeatureCollection », « version »: « draft », « features »: [
{« type »: « Feature », « geometry »: {« type »: « Point », « coordinates »: [7.752988, 48.565701]}, « properties »: {« label »: « Rue de Dornach 67100 Strasbourg », « score »: 0.8462090909090909, « citycode »: « 67482 », « context »: « 67, Bas-Rhin, Grand-Est (Alsace) », « postcode »: « 67100 », « name »: « Rue de Dornach », « id »: « 67482_1845_e4f201 », « y »: 6840056.1, « importance »: 0.3083, « type »: « street », « city »: « Strasbourg », « x »: 1050498.6}}
, {« type »: « Feature », « geometry »: {« type »: « Point », « coordinates »: [7.295129, 47.762257]}, « properties »: {« label »: « Rue de Dornach 68120 Pfastatt », « score »: 0.8230363636363636, « citycode »: « 68256 », « context »: « 68, Haut-Rhin, Grand-Est (Alsace) », « postcode »: « 68120 », « name »: « Rue de Dornach », « id »: « 68256_0180_af97c7 », « y »: 6748956.1, « importance »: 0.0534, « type »: « street », « city »: « Pfastatt », « x »: 1021607.2}}
, {« type »: « Feature », « geometry »: {« type »: « Point », « coordinates »: [7.320888, 47.730125]}, « properties »: {« label »: « Rue de Dornach (Brunstatt) 68350 Brunstatt-Didenheim », « score »: 0.8219545454545454, « citycode »: « 68056 », « context »: « 68, Haut-Rhin, Grand-Est (Alsace) », « postcode »: « 68350 », « name »: « Rue de Dornach (Brunstatt) », « id »: « 68056_XXXX_3144df », « y »: 6745560.5, « importance »: 0.0415, « type »: « street », « city »: « Brunstatt-Didenheim », « x »: 1023677.2}}
, {« type »: « Feature », « geometry »: {« type »: « Point », « coordinates »: [7.306261, 47.726377]}, « properties »: {« label »: « Rue de Dornach (Didenheim) 68350 Brunstatt-Didenheim », « score »: 0.8201999999999999, « citycode »: « 68056 », « context »: « 68, Haut-Rhin, Grand-Est (Alsace) », « postcode »: « 68350 », « name »: « Rue de Dornach (Didenheim) », « id »: « 68056_XXXX_3144df », « y »: 6745021.0, « importance »: 0.0222, « type »: « street », « city »: « Brunstatt-Didenheim », « x »: 1022657.2}}]
, « attribution »: « BAN », « licence »: « ODbL 1.0 »,** « query »: « rue de dornach »,** « limit »: 5}`
Dans la zone « query », le paramètre « city » n’est pas repris…
Bug ou problème d’utilisation ?