a loading spinner while the assets are saved and the calculations process, because sometimes it takes a while when saving miles and miles of trails
changed the scoring form to only show the number values of geographic and socio economic scores, so it's not user editable
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.
Overview
For issues:
162
163
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