AmericanRedCross / street-view-green-view

BSD 3-Clause "New" or "Revised" License
15 stars 15 forks source link

develop suggested process for visualizing the output #25

Open danbjoseph opened 6 months ago

danbjoseph commented 6 months ago

once we have a bunch of points with Green View Index (GVI) scores, we need a way to look at it 😁

sample dataset:

ideas?

something better than just this...

Screenshot 2024-03-28 at 3 52 08 PM
ioalexei commented 4 months ago

Example of 100m hex using the sample data:

image

Some thoughts on this:

jchboettcher commented 4 months ago

What's the downside of just a standard heat map? Might be simpler to implement than a hex grid.

ioalexei commented 4 months ago

Demo/comparison of hex vs heatmap: image

Aesthetically I think there's not much in it, and both are easily supported by webmapping tools.

A benefit of using a hex grid would be the ability to show attributes as labels or in pop-ups - e.g. you could label the polygon with the GVI mean, or show a popup that has the summary stats.

Could enable both and give an option to toggle between them on the webmap?

Edit: Depending on the scope of the project, hex grid potentially makes it easier to join other data - e.g. to also show population or other sociodemographic data alongside the GVI scores.

danbjoseph commented 4 months ago

For me, the heatmap suggest an absence of the variable in the locations with no color. That is, areas of no vegetation. Whereas, for me, the hex grid is makes me think "no data" or "not part of the analysis" for the areas outside of the hex. It would be interesting to do a user study and ask them how they interpret the different options to figure out which most accurately helps them take away the intended information. The hexbins have the added benefit of being a simple drag and drop into a GIS software while also being compatible with a web map. Not dismissing heatmap, but let's do a hexbin option first.

@ioalexei so that we have something for this final step in the workflow - would you be willing to write a script to generate a hexbin file output? (following similar conventions as your work on #29)

ioalexei commented 4 months ago

Sure, I can have a go next week and share something for input.

ioalexei commented 4 months ago

Have submitted a pull request for a first stab at this.

There are still some things that could be improved in building the webmap, like dynamically setting the hex resolution and webmap zoom level based on the extent of the dataset. Suggestions welcome on the best way to do that!

CAB-123 commented 1 month ago

looking at this real quick, both versions so far have clean lines (street, hexmap)

the hexmap also covers the building roofs and the area between the streets, which makes sense on an aggregated level but on an "extreme technical level" there's no actual vegetation