Sunday, November 16, 2014

GIS4930 Module 4 - Tilemill & Leaflet

The exploration of opensource software for GIS purposes continued this week with the focus on Tilemill and Leaflet. Shapefiles were imported into Tilemill which already had a basemap in place. Arcmap was used to classify the food deserts by population (QGIS could have been used also) before selecting the color scheme in Color Brewer. This color scheme was entered into the Tilemill source code. The Leaflet code editing was terribly confusing, but with a lot of referencing previous instructions, double-checking coding changes, verifying paths, and re-reading of instructions, I made it through. OpenCage Geocoder was utilized to find latitude and longitude for specific addresses. Markers and shapes with popup text boxes were edited in the code. Layer groups were created and the ability to toggle layers on or off was coded. geocoder was added to the source code for finding locations. Interestingly enough, it went to locations within a few blocks of the input addresses, but not to the exact address location specified. Its reliability indicates that it should be investigated further. Throughout the process of editing the Leaflet code, the text and html files were saved incrementally, keeping previous copies in case something really got messed up during the editing process. The gods of coding must have been with me this week though, because I made it through all the Tilemill and Leaflet coding without any errors. What a lovely surprise that was!

Here's the link to the final web map: Food Deserts of Southeast Escambia County which opens up this:
Food Deserts of Southeast Escambia County





No comments:

Post a Comment