Visualize earthquake data from geojson format file with OpenGL and Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
support
1901-6.geojson
1916-65.geojson
1950-65.geojson
1950-7.geojson
LICENSE
README.md
visual.py

README.md

Earthquake Visualization

Visualizing earthquake data from geojson format, data can be downloaded from The United States Geological Survey (USGS)

Using Python + OpenGL (pyglet library)

Input

Earthquake data can be found in USGS.gov.

Control

  1. Press SPACE key to pause
  2. Press LEFT/RIGHT key to adjust display time
  3. Press UP/DOWN key to adjust display duration time
  4. Press R key to reset and start over
  5. Press H key to display help message
  6. Click a quake, bottom-left corner will show its info
  7. Hover a quake during pause will also show its info

There might be a performance lag due to the scale of data.

Output

It looks like this: Starting Screenshot

And this: Running Screenshot

Sample Data

Sample earthquake data files are downloaded from usgs.gov website.

License

MIT