geotrellis / tree-prioritization-demo

Tree prioritization demo.
https://treeprioritization.geotrellis.io
Apache License 2.0
4 stars 2 forks source link

Analyze NODATA issues #79

Closed RickMohr closed 8 years ago

RickMohr commented 8 years ago

I believe several of our datasets have problems with NODATA values.

With both "Owner-Occupied Property Value" and "Median Household Income", tile colors in North Philadelphia are neither blue nor red, suggesting NODATA where there should be data:

image image

"Percent Vacant Housing Units" has the opposite problem -- tile colors over the Delaware River are blue, suggesting data where there should be NODATA:

image

RickMohr commented 8 years ago

The first issue above ("tile colors in North Philadelphia are neither blue nor red") appears to be caused by a problem with our threshold mask. If the threshold mask is disabled (by commenting out https://github.com/OpenTreeMap/otm-modeling/blob/develop/tile/src/main/scala/TileService.scala#L161) tile colors in North Philadelphia become dark blue.

The threshold issue is entered as #100

(In addition there may still be NODATA issues with those data sets.)

RickMohr commented 8 years ago

The correct renderings have NODATA values over ocean but not over the Delaware River. Getting them to render correctly currently depends on one of two workarounds to https://github.com/geotrellis/geotrellis/issues/1462

image

image

image