Find closest airport based on latitude and longitude

geolocationmaps

How do I find closest airport using longitude and latitude ?

Any specific web services and any database to achieve ?

Best Answer

One WebService I found is airports.pidgets.com

This is an example:

XML format http://airports.pidgets.com/v1/airports?near=45.3515,9.3753

JSon format http://airports.pidgets.com/v1/airports?near=45.3515,9.3753&format=json

[Edit] Found another webservice on aviationweather.gov (only XML and CSV)

http://aviationweather.gov/adds/dataserver_current/httpparam?dataSource=stations&requestType=retrieve&format=xml&radialDistance=20;9.3753,45.3515

From both sites you can download a "static" airports list, to perform offline search.

Regards