This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# snippet to create circles on map | |
coords_belgium=[50.5039, 4.4699] | |
pollution_map = folium.Map(location=coords_belgium, control_scale=True, zoom_start=8) | |
for i in range(0,len(loc_df)): | |
folium.Circle(location=[loc_df.iloc[i]['Latitude'], loc_df.iloc[i]['Longitude']] | |
, popup=loc_df.iloc[i]['SamplingPoint'] | |
, radius=500 | |
, color='blue' | |
, fill=True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2014-2017 Bert Carremans | |
# Author: Bert Carremans <bertcarremans.be> | |
# | |
# License: BSD 3 clause | |
import os | |
import random | |
from shutil import copyfile |