aashishvanand / airport-data-js

A comprehensive javascript library providing easy retrieval of airport data based on IATA, ICAO, city codes, country codes, and continents.
https://airport-data-js.aashishvanand.me/
Other
6 stars 1 forks source link

Wrong country for OSL #8

Closed joleeee closed 8 months ago

joleeee commented 9 months ago

Hey, just tried this and the first airport i tried returned wrong data

image

OSL is in NO, but NO is Norway, not Nannestad. Nannestad is a municipality which contains Teigebyen, which is a village of 3k people.

A similar thing for CPH which is in Denmark...

image
joleeee commented 9 months ago

Even the example on the front page has the wrong country...

image

joleeee commented 9 months ago

I am also wondering about this, there are two iata codes (OSL, GEN) for icao ENGM, both go to Oslo Gardermoen, but they have slightly different coordinates in this db, and GEN is missing a lot of links. The links are there but they either dont work or redirect to OSL. I think GEN is historical? Not sure if this is expected.

image

image
aashishvanand commented 9 months ago

Hi @joleeee,

Thank you for pointing out these inaccuracies with the airport data, including the issues with OSL, CPH, and the IATA codes for ENGM. I appreciate your detailed feedback and the examples you've provided.

Yes, I will address and fix these issues in the next update.

aashishvanand commented 8 months ago

@joleeee There is a difference between "Country" and "County" and "City"

I have anyways found another source that has updated City. Will be releasing it soon.

Regarding GEN. I will check if I can remove such records.