geolookup airports doesn't have distances associated with it.

  • 1
  • Problem
  • Updated 6 years ago
geolookup fetches nearby weather stations as well as airports.

Whereas weather stations has "distance_km" and "distance_mi". It would be nice to have the same fields in airports too.

Example:
Weather Station

"pws": {
"station": [
{
"neighborhood":"Forest Hill",
"city":"Newark",
"state":"NJ",
"country":"US",
"id":"KNJNEWAR9",
"lat":40.769958,
"lon":-74.171417,
"distance_km":1,
"distance_mi":0
},

Airport

"airport": {
"station": [
{ "city":"Teterboro", "state":"NJ", "country":"US", "icao":"KTEB", "lat":"40.84999847", "lon":"-74.05999756" },
{ "city":"Newark", "state":"NJ", "country":"US", "icao":"KEWR", "lat":"40.68999863", "lon":"-74.16999817" },
{ "city":"Caldwell", "state":"NJ", "country":"US", "icao":"KCDW", "lat":"40.88000107", "lon":"-74.27999878" },
{ "city":"Central Park", "state":"NY", "country":"US", "icao":"KNYC", "lat":"40.77000046", "lon":"-73.98000336" }
]
Photo of santoshb

santoshb

  • 23 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1

Be the first to post a reply!