DEV Community

gokayburuc.dev
gokayburuc.dev

Posted on

Earthquake Heatmap using Python folium library

https://github.com/gokayburuc/koeri-heatmap

Introduction

This project was developed to create an earthquake heat map using python folium, bs4, requests and pandas libraries. It is open source and not for commercial purposes.

Earthquake source data was taken from http://www.koeri.boun.edu.tr/scripts/lst0.asp.

When the project runs, an output.html file is displayed on the screen in the browser.

Screenshots

View1
View2

Resources

The official documents I used in this projects are shared below:

Location Info

In order to create a heatmap on Folium, map boundaries were obtained from the following web page as geolocation.

LocationInfo

Location Term Value
Turkey Latitude: 38.963745
Turkey Longitude: 35.243322000000035

Requirements

Required Libraries are:

Usage

When you run the file below, the necessary Python libraries will be installed automatically. Afterwards, data will be extracted from the page and a file named output.html will be created. output.html will open and the earthquake heatmap page will appear on your screen.

bash koeri.sh 
Enter fullscreen mode Exit fullscreen mode

Reach Me

How to reach me : gokayburuc@yandex.com

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more