/locaton-map

A Python/Folium builder of location map for the CSV representation of Nuclear Waste SItes on US Campuses

Primary LanguagePython

locaton-map

A Python/Folium generator of the geolocalisation map for the CSV representation of Nuclear Waste Sites on US Campuses

(With minor changes it will create a map from any other CSV file with latitude-longitude value pairs)

About the map

The source data for the CSV file was obtained here

Folium module has some great features (and is missing some needful others. Notice that in order to have a title on the map it was necessary to introduce an HTML element inside the Python code.)

How to use

To make use of this program it is necessary a computer with Python 3 installed, the Folium module, an IDE or a code editor able to run Python, and an internet connection.

  • Download the files "nuclear_waste_on_campuses.py" and "Nuclear_Waste_Sites_on_US_campuses.csv" to the same directory (folder);
  • Open and run the .py file. A file named "map_nuclear_on_campus.html" will be created in the same directory (folder);
  • Connected to the internet open the just created HTML file on a browser and the map should load (it was tested with Firefox, Chrome and Opera;)
  • Click on a mark to see the name of the corresponding site, zoom in to individualize agglomerates of marks, and further to check the names of the streets around a site.

Licenses

Copyright [2019] [J. Manuel Caeiro D. P.]

The code in this repository is under the MIT License. You may obtain a copy of the MIT License here

Plotly Sample Datasets are under GPL-3 License, as explained here.

TO-DO

  • Upon request (plus a generous donation): Build CSV files to geolocalise other interesting places and change the code to display them.