techmatters / soil-id-algorithm

GNU Affero General Public License v3.0
1 stars 0 forks source link

Capitalization of top soil match and ecological site name is not always consistent #128

Closed knipec closed 1 month ago

knipec commented 2 months ago

Repro

  1. Type the following lat/long in the app's search bar: 38.00722, -121.98846
  2. Click "Learn more" to bring up the location dashboard

Expected: Title case capitalization of Ecological Site Name: "Very Steep Shallow Fine Loamy", as most other values I've seen, like: Screenshot 2024-07-01 at 7 51 14 PM

Actual: All-caps "VERY STEEP SHALLOW FINE LOAMY" Screenshot 2024-07-01 at 7 43 25 PM

Notes

I imagine the cause of this is within the soil-id-algorithm, so filing it here. Seems pretty low priority though. Thanks!

jjmaynard commented 2 months ago

The inconsistency is due to the SSURGO database. We'll need to reformat the text on our end for consistency.

paulschreiber commented 1 month ago

This change was deployed today.

paulschreiber commented 1 month ago

@knipec You can verify on production or staging.

DerekCaelin commented 1 month ago

@paulschreiber In 174beta, this is not resolved.

API returns title case as expected, is the issue on the client site?

paulschreiber commented 1 month ago

@DerekCaelin the popover is always all-caps, per the design.

It's fixed on the tile: