earthrise-media / justice-map

Upgrading the maps for environmental justice
https://earthrise-media.github.io/justice-map/
4 stars 2 forks source link

this block group with high index is not highlighted #18

Closed mikelmaron closed 3 years ago

mikelmaron commented 3 years ago

image

tmcw commented 3 years ago

This is definitely a data issue, the block-highlights layer is totally different than the dissolved layer:

image

The block-highlights layer appears to have overlapping geometries and different boundaries than the dissolve copy layer, so we can't expect this interaction pattern to work reliably.

mikelmaron commented 3 years ago

I should explain the layers in the Mapbox Style -- they aren't well labeled (and yes give them better labels later on)

Sorry for the confusing labels -- but does this make sense? Because block-highlights and cali-projected-6z3k79 copy use the same source, expect the rendering of the fill and the filtering of the boundary would match up.

mikelmaron commented 3 years ago

I think I spotted what's up. The min / max domain value for the slider is set to -15000/15000. So block groups that exceed will always be excluded by the filter. The range of D_PM25_2 is the (arbitrary seeming) -18063.444039 <> 61,374