usds / justice40-tool

A tool to identify disadvantaged communities due to environmental, socioeconomic and health burdens
https://screeningtool.geoplatform.gov/
Creative Commons Zero v1.0 Universal
133 stars 42 forks source link

There is one tribal LAR area in Alaska - it is currently reading as 1 point it has a land boundary so we need a percentage calculation #2060

Closed KameronKerger closed 1 year ago

KameronKerger commented 1 year ago

Describe the bug

9.42/55.1438/-131.5693 in Alaska is a LAR. It should have a percentage calculation in addition to it's points count.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Explore the map hashtag9.42/55.1438/-131.5693'
  2. Click on 'the census tract on Annette Island'
  3. See error

Expected behavior There should be a LAR percentage calculation.

Screenshots If applicable, add screenshots to help explain your problem.

Screen Shot 2022-11-04 at 10 28 35 AM

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

mattbowen-usds commented 1 year ago

There's some logic I think that decides this --- I'll look at it tomorrow to see how complex it will be to solve.

mattbowen-usds commented 1 year ago

I looked at this, and on the backend for this tract, TA_PERC is 0.94 and TA_COUNT_AK is 1.0, so the backend is sending the correct signals. Vim and I are talking about the correct solution

vim-usds commented 1 year ago

This is the only tract in AK that has both a TA_COUNT_AK and TA_PERC. The assumption is that TA_PERC should take precedence. Is that correct @KameronKerger ?

KameronKerger commented 1 year ago

It is visually a PERC on the map so it should be a PERC.

vim-usds commented 1 year ago

@KameronKerger thank you!

vim-usds commented 1 year ago

@KameronKerger - let's talk about this this afternoon

vim-usds commented 1 year ago

And this one:

Screen Shot 2022-11-08 at 2 35 52 PM