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

Search with geocoder photon not contains suggestions aeroports

0

Hi ,is there a method to add list of airports to the suggestions for example in france . Thank you in advance.

asked 09 May '22, 14:39

aminali1991's gravatar image

aminali1991
21457
accept rate: 0%

edited 09 May '22, 14:39


One Answer:

1

Airports are returned with the results, they just usually very low on the importance list. You can explicitly restrict the search to airports using the osm_tag parameter: https://photon.komoot.io/api?q=fra&osm_tag=aeroway:aerodrome You can use the bbox parameter to further restrict the results to a certain area like France.

answered 10 May '22, 10:00

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

Source code available on GitHub .