fpdcc / ccfp-asset-dashboard

CCFP Asset Dashboard
0 stars 1 forks source link

Add programmatic scoring #196

Closed smcalilly closed 2 years ago

smcalilly commented 2 years ago

Overview

For issues:

Includes:

Notes

For the socio economic distance scoring, I had trouble aggregating all of the buffered geometries into a single geometry collection (like we do for the other scoring). Specifically, I was running into a GIS error where the buffered geoms would have a ring self-intersection error. All of the solutions said to set the buffer as zero, which would negate our buffered score.

When debugging, I found that I could find the intersection of each buffered poly type separately, so my code is a workaround where we loop through all of the geometry types and find the intersection with the socio economic disinvested areas.

The buffer is 1.11 miles based on the information found in this gis.stackexchange.

Testing Instructions