Skip to content

plotting flight paths (great circle arcs) on a globe, prettily

Notifications You must be signed in to change notification settings

ricsonc/flight-mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is some code to plot flights you've taken on a globe.

stuff

Directly inspired from gcmap but with the following features

  • higher (arbitrarily high) resolution
  • output everything on a spinning globe
  • easier customization / colorization
  • overlapping trajectories result in a thicker, brighter line
  • trajectories have some elevation over the surface
  • much slower to run

What if I want to run the code?

See requirements.txt for the environment. Some special care might need to be taken for cartopy -- refer to cartopy installation instructions.

Other than that, simply edit data.py such that txts is a list of strings, and each string is a query such as one you might pass in to gcmap -- a very simple example might be txts = ['SFO-SEA,SFO-YYZ,', 'PHX-OKC,']. Play around with gcmap to get more familiar with the possibilities. Each string gets plotted in a separate color. For more plotting options, just dig around in the code. Use render.sh to dump all 360 views and generate a video.

About

plotting flight paths (great circle arcs) on a globe, prettily

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published