Giter Club home page Giter Club logo

airport-codes's Introduction

Airport codes

Airport codes and their corresponding data.

Transform the data provided by OpenFlights into a JSON format so that it can be looked up by IATA airport code.

Data Format

Original

Fileds in the order of appearance, in the original data source

  • Airport ID Unique OpenFlights identifier for this airport.
  • Name Name of airport. May or may not contain the City name.
  • City Main city served by airport. May be spelled differently from Name.
  • Country Country or territory where airport is located.
  • IATA/FAA 3-letter FAA code, for airports located in Country "United States of America". 3-letter IATA code, for all other airports. Blank if not assigned.
  • ICAO 4-letter ICAO code. Blank if not assigned.
  • Latitude Decimal degrees, usually to six significant digits. Negative is South, positive is North.
  • Longitude Decimal degrees, usually to six significant digits. Negative is West, positive is East.
  • Altitude In feet.
  • Timezone Hours offset from UTC. Fractional hours are expressed as decimals, eg. India is 5.5.
  • DST Daylight savings time. One of E (Europe), A (US/Canada), S (South America), O (Australia), Z (New Zealand), N (None) or U (Unknown)

Sample entries from the database

507,"Heathrow","London","United Kingdom","LHR","EGLL",51.4775,-0.461389,83,0,"E" 26,"Kugaaruk","Pelly Bay","Canada","YBB","CYBB",68.534444,-89.808056,56,-6,"A" 3127,"Pokhara","Pokhara","Nepal","PKR","VNPK",28.200881,83.982056,2712,5.75,"N"

Transformed

A JSON object with airport data represented as objects with IATA codes as the key. For example "LHR": {"name": "Heathrow", "city": "London", ...}

Sample entry

{
    "altitude": "83",
    "city": "London",
    "country": "United Kingdom",
    "dst": "E",
    "iata": "LHR",
    "icao": "EGLL",
    "latitude": "51.4775",
    "longitude": "-0.461389",
    "name": "Heathrow",
    "timezone": "0"
}

Credits

Big thanks to OpenFlights for collecting and making this data available. Check out their website for additional data about airlines, routes etc.

airport-codes's People

Contributors

lukavarga avatar ram-nadella avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.