Jessica Shi, Anwesha Das, Aranyo Ray, and Claire Morton
We recently submitted this project to the Hack the Helyx Hackathon this past weekend. The theme of the competition was “Sustainability”. Our goal was to create a tool that could determine if your community meets sufficient criteria as per internationally agreed upon standards of green space. With this power of information, we hope that this will encourage advocacy towards green space development. To visit our webpage that links to our Wolfram interactive tools: https://green-up.weebly.com
Next, we wanted to be able to more easily visually the green areas.
Replace green pixels with red
In[]:=
gmap[map_]:=map2=ColorReplace[map,GreenRed,.26]
In[]:=
chicagomap2=gmap[chicagomap]
Out[]=
The following piece will return the total number of green pixels in the satellite image, the ratio between green pixels and total pixels, and the area in kilometers-squared of green.
We also discovered the function DistanceTransform which can visualize distance to the background using value. By highlighting the green spaces with white and making everything else black, the function could be used. This image was then made semi-transparent and overlaid on the satellite image.
Finally, we created the form pages formatting them for cloud deploy that allow the input of a location and a distance. The first one allows the user to type in an address or the name of a city, while the second one utilizes the users location.
Cloud deploy a form allowing an input of location and distance
Refine our algorithm by also identifying polygons and larger green spaces
◼
Attempt to classify them as private or public green spaces
◼
Modify our letter-grading system such that it is not solely dependent on the ratio of green area to total area, but also takes in factors like size, distance from the user, and the quality of green spaces into account