DEV Community

Gokay Buruc
Gokay Buruc

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

Top comments (0)