I’m trying to develop an application that finds POIs of a city like museums, user input is country name and city name, this get translated to latitude and longitude using nominatim service, I would like to write a query for overpass that starting from those cohordinates lists me all pois inside the city.
ieg: users enter England, London and gets a list of museums in London city boundaries. I choosed to use both country and city names for locating the starting point to avoid city duplication.
Is it possible to do so?
I’m doing some exeperiments using overpass-turbo to try to find the right query before putting in my software, anyway I still haven’t found something that gives me results I would like and in a reasonable time.
This is my current overpass query:
is_in(41.8933203,12.4829321)->.a; area(area.a)[boundary=administrative] ->.fi; area(area.fi)[admin_level=8]->.city; node(area.city)['amenity'='museum']; out;
I accept any kind of suggestion.