US Airport dictionary for macOS
Provides dictionary entries and a Right Click -> Look Up panel for US Airports based on their FAA or IACO identifiers. Great for online forums or classifies where someone wants to meet at FFX but you haven't quite memorized all 20,239 airport codes.
- Open Dictionary.app
- Choose File -> Open Dictionaries Folder
- Drag in Airports.Dictionary
- Choose Dictionary -> Preferences
- Check "Airports" in the list. You may need to quit and relaunch Dictionary.app for Airports to show display.
- Optionally, drag Airports to the top of the list. This helps airport identifiers show when using "Look Up" outside of Dictionary.app.a
- Building the dictionary requires a recent
ruby
. Considerbrew install ruby
or using RVM. - Dependencies are installed using
bundle install
generate.rb
will read Aiports.geojson (downloaded from the FAA website) and produce
a new Airports.xml
. This is the dictionary information. It gets compiled and bundled
using make
and put into the dictionaries folder with make install
.
As a one liner:
./generate.rb > Airports.xml && make && make install
Sometimes the lookup view service needs to be restarted to load new dictionary material:
killall -INT LookupViewService