Zero result return when the street in OSM do not have the street number. #3441
Replies: 2 comments 2 replies
-
What is the full Nominatim API URL that is called here?
The result is a street. I'd say most users would prefer to get a nearby relevant result over getting no result. What is the usecase for validating addresses? I mean OSM data is not complete, and not authoritive. OSM data not containing a house number doesn't mean such a house doesn't exist in the real world. (Google Maps and HERE don't know the precise location of the house number either, they use interpolation based on nearby house numbers). |
Beta Was this translation helpful? Give feedback.
-
I've so much updated my code since then, that I'm not facing this issues anymore, so I'm closing this. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I'm currently using the API
/search?
Structured method to validate addresses.in my form I have a mandatory field
house number
but it seem when OSM do not have the house number I get zero resultTheRequest.json() == []
But when I try the same here https://nominatim.openstreetmap.org/ui/search.html?street=Rue+de+l%27%C3%89glise+2488&city=Val-David&country=Canada&postalcode=J0T+2N0
I get an result !? any ideas ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions