This is a very simple example package used to graph the amount of greenery between two points.
It finds the latitude and longitude of two named places, obtains satellite imagery from Google maps and counts the percentage of pixels where the green channel exceeds the red and blue channels of each pixel by a threshold, usually 1.1x
Invoke the code with with ./greengraph --from ORIGIN --to DESTINATION [--steps N] --out (NAME of output png file e.g. graph.png) where N is a positive integer
This was written by Stephen Morrell [email protected] for part of the UCL Research Software Engineering with Python course.