This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Search address from postal code, street number using geocoder photon

0

I'm using geocoder "photon". I want to get suggestion address from postal code , street number I use this osm_tag: ["place:city", "place:town", "place:village","addr:postcode=*"] from this link https://wiki.openstreetmap.org/wiki/Key:postal_code

example of address: 4 rue emile baudot 91120 palaiseau

But not working with addr:postcode , any idea please .Thank you in advance

asked 10 May '22, 15:21

aminali1991's gravatar image

aminali1991
21457
accept rate: 0%

edited 10 May '22, 16:56

Do I understand you correct: you expect to search for "91120, 4" and expect to get a suggestion of "4 rue emile baudot 91120 palaiseau" returned?

(11 May '22, 07:55) lonvia

Yes, for example, when I write 91120 I get suggestions started by this postal code, or write 4 get suggestions started with 4

(11 May '22, 09:12) aminali1991

Source code available on GitHub .