Skip to content

Commit

Permalink
Fix range for forest intactness index
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Aug 7, 2024
1 parent b5e4961 commit 636799f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/natural-assets/nature-raster-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export const NATURE_RASTER_FORMATS: Record<
forest_landscape_integrity: {
colorMap: {
scheme: 'ylgn', //TODO - original dataset colormap is more like gold-yellow-green
range: [0, 10_000],
range: [0, 10],
},
formatValue: (x) => `${(x / 1000).toLocaleString(undefined, { maximumFractionDigits: 1 })}`,
formatValue: (x) => `${x.toLocaleString(undefined, { maximumFractionDigits: 1 })}`,
transparentColor: [255, 255, 255, 0],
},
organic_carbon: {
Expand Down

0 comments on commit 636799f

Please sign in to comment.