项目作者: joonillee

项目描述 :
web map using python3 and folium
高级语言: HTML
项目地址: git://github.com/joonillee/web-map.git
创建时间: 2018-01-22T17:50:25Z
项目社区:https://github.com/joonillee/web-map

开源协议:

下载


web-map

Web-Map using Python 3 and Folium

featuring

volcanoe spot in US with CircleMaker with different colors based on:
if elevation < 1000:
return ‘green’
elif 1000 <= elevation < 3000:
return ‘orange’
else:
return ‘red’

population retrieved from 2005 data, world.json and displaying
different colors based on population:
green < 10,000,000
orange if population is <= and < 20,000,000
red if population is greater than 20,000,000

Must install folium and pandas in project folder in order to run:

  • pip3 install folium
  • pip3 install pandas

Initalize the app by running in terminal:
python3 map1.py

screen shot 2018-01-22 at 11 17 51 am