Git Product home page Git Product logo

earthquake-map's Introduction

Earthquake-map

Earthquake Map is an application that displays an interactive map of the world's earthquakes and enables the user to visualize the threat some cities face.

DISCLAIMER: the "threat circle" radius is for illustration purposes only and is not intended to be used for safety-critical or predictive applications.

The UI is a PApplet (Processing window) that displays the National Geographic world map provided by Esri alongside the map's legend. As the user hovers the over a city or earthquake, a pop-up appears with information about the location.

Project Structure

  • src: project source code
  • lib_deps: library dependencies
  • data: city and countries .json dat
  • .project: Eclipse project file
  • .classpath

Prerequisites

Eclipse IDE - for download and install go to https://www.eclipse.org/

Set-up

  1. Download the project on your drive.
  2. Import the Java Project in your Eclipse workspace.

Running the app

  1. Run EarthquakeCityMap.java to launch the UI.
  2. Observe the world's map, the map legend and zoom in and out using the scroll wheel.
  3. Left-click on an earthquake and see if one of the main cities represented on the map if within its "threat circle".
  4. Similarly, left-click on a city to see if it is within the "threat circle" of a nearby earthquake.
  5. The console displays a list of the countries affected by earthquakes and their number, as well as how many earthquakes occurred in the oceans.

Sample 1 alt text

Sample 2 alt text

Author

Andreea Teodor

Credits

This application was written as part of an assignment for: Data Structures and Performance โ€“ University of California San Diego on Coursera. (the libraries, parsing script and outline of the application were provided as a starter code)

earthquake-map's People

Contributors

andreeateo avatar

Stargazers

 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.