Real world earthquake data visualization using Unfolding Maps library and Processing GUI
- Earthquake data from https://earthquake.usgs.gov/earthquakes/
- Processing - https://processing.org
Capabilities includes:
- Keyboard shortcuts
- Change map providers
- Show only the recent earthquakes or show it all
- Mouse Hover
- Show a marker's detail drawn on top of other graphics
- Dynamic latitude and longitude on the lower right side of the map
- Mouse Clicks
- When clicking a city marker:
- Shows the airports within 50km
- Shows an earthquake if the city is affected by its threat circle
- Hides other city marker
- A popup menu appears on the left side of the map to show the count of nearby earthquakes, average magnitude, and the most recent earthquake occurred
- When clicking an earthquake marker:
- Shows a city marker if it is within its threat circle
- Shows airports affected by its threat circle
- Hides other earthquake marker
- When clicking an airport marker
- Draw a line to its routes and hides other airports
This is a skeleton to use Unfolding in Eclipse as well as some starter code for the Object Oriented Programming in Java course offered by UC San Diego through Coursera.
A very basic Unfolding demo you'll find in the source folder in the default package. For more examples visit http://unfoldingmaps.org, or download the template with examples.
The module folders contain the starter code for the programming assignments associated with the MOOC.
Get excited and make things!
Import this folder in Eclipse ('File' -> 'Import' -> 'Existing Projects into Workspace', Select this folder, 'Finish')
If the import does not work follow the steps below.
- Create new Java project
- Copy+Paste all files into project
- Add all lib/*.jars to build path
- Set native library location for jogl.jar. Choose appropriate folder for your OS.
- Add data/ as src
Switch Java Compiler to 1.6 if you get VM problems. (Processing should work with Java 1.6, and 1.7)