Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mauvais résultat retourné (type street) avec un paramètre type="housenumber" sur l'api reverse #121

Open
maximelebreton opened this issue Dec 14, 2020 · 0 comments

Comments

@maximelebreton
Copy link

maximelebreton commented Dec 14, 2020

Bonjour,

J'essaie de récupérer le 39 Rue Chauvelot 92240 Malakoff via l'api reverse.
J'ai donc mis les coordonnées sur la parcelle cadastrale correspondante, avec le filtre type=housenumber :
https://api-adresse.data.gouv.fr/reverse?limit=1&lat=48.821963324331&long=2.30694389779587&type=housenumber

Mais j'ai pour résultat un type street... (donc qui ne contiens pas le numéro)

Résultat :

{
   "type":"FeatureCollection",
   "version":"draft",
   "features":[
      {
         "type":"Feature",
         "geometry":{
            "type":"Point",
            "coordinates":[
               2.307097,
               48.821894
            ]
         },
         "properties":{
            "label":"Rue Chauvelot 92240 Malakoff",
            "score":0.9999999260700166,
            "id":"92046_1455",
            "name":"Rue Chauvelot",
            "postcode":"92240",
            "citycode":"92046",
            "x":649125.9,
            "y":6858204.43,
            "city":"Malakoff",
            "context":"92, Hauts-de-Seine, Île-de-France",
            "importance":0.65993,
            "type":"street", // <----------- LE PROBLEME EST ICI
            "distance":13
         }
      }
   ],
   "attribution":"BAN",
   "licence":"ETALAB-2.0",
   "filters":{
      "type":"housenumber"
   },
   "limit":1
}

Une idée du problème ?

Merci d'avance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant