Method: afld - airfields_by_coordinates
Select all airfields close to a given set of coordinates. All airfields within a bounding box around the coordinates will be selected.
The radius parameter defines how large the bounding box will be. A value of 1 will draw a box the size of one degree, 2 will draw a box the size of one tenth of a degree, and so on. Due to the way coordinates are calculated, the bounding box near the equator will be larger than the bounding box around a set of coordinates near the poles.
- Entry point:
- afld
- Method name:
- airfields_by_coordinates
- Url:
- https://www.spottingmode.com/api/afld/airfields_by_coordinates/
create an url with the url creator tool - Daily limit:
- 1.000
- Weekly limit:
- -
- Monthly limit:
- -
- Authentication required:
- Api key
Method parameters
Name | Type | Optional | Description |
---|---|---|---|
latitude | floating point | Latitude, must be given in decimal notation, locations on northern hemisphere positive, locations on southern hemisphere negative. | |
longitude | floating point | Longitude, must be given in decimal notation, locations on eastern hemisphere positive, locations on western hemisphere negative. | |
radius | integer | optional | Radius of bounding box between 1 and 5 (1=one degree size, 5=1/10.000 degree size). Default value is 3. |
Method response
Response formats available for this method: json, xml
json
{"airfields": [ { "airport_id": "22618", "airport_name": "Keysers Heliport", "lng": "4.62211561", "lat": "51.34342957", "status": "Civil", "airport_type": "Heliport", "country_name": "Belgium", "codes": [ { "code": "EBBH", "code_type": "ICAO" }], "url": "http:\/\/www.spottingmode.com\/airfields\/airport\/22618\/" },{ "airport_id": "33073", "airport_name": "Erasmus Medisch Centrum Heliport", "lng": "4.47082186", "lat": "51.90991211", "status": "Civil", "airport_type": "Heliport", "country_name": "The Netherlands", "codes": "", "url": "http:\/\/www.spottingmode.com\/airfields\/airport\/33073\/" }] }xml
<root> <airfields> <airfield> <airport_id>22618</airport_id> <airport_name>Keysers Heliport</airport_name> <lng>4.62211561</lng> <lat>51.34342957</lat> <status>Civil</status> <airport_type>Heliport</airport_type> <country_name>Belgium</country_name> <codes> <code> <code>EBBH</code> <code_type>ICAO</code_type> </code> </codes> <url>http://www.spottingmode.com/airfields/airport/22618/</url> </airfield> <airfield> <airport_id>33073</airport_id> <airport_name>Erasmus Medisch Centrum Heliport</airport_name> <lng>4.47082186</lng> <lat>51.90991211</lat> <status>Civil</status> <airport_type>Heliport</airport_type> <country_name>The Netherlands</country_name> <codes></codes> <url>http://www.spottingmode.com/airfields/airport/33073/</url> </airfield> </airfields> </root>