From e5d08891ff3c3a445e913e991171e8f7a0e848fb Mon Sep 17 00:00:00 2001 From: Andrew Blackford <62357205+acblackford@users.noreply.github.com> Date: Wed, 18 Sep 2024 11:10:26 -0500 Subject: [PATCH] more cmap testing --- datasets/soil-texture.data.mdx | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/datasets/soil-texture.data.mdx b/datasets/soil-texture.data.mdx index 6ef736506..c53018ae8 100644 --- a/datasets/soil-texture.data.mdx +++ b/datasets/soil-texture.data.mdx @@ -19,7 +19,7 @@ taxonomy: layers: - id: soil-texture-0cm stacCol: soil-texture-0cm - name: Soil Texture at the Surface (0 cm) + name: Soil Texture at the Surface (0 cm Depth) type: raster description: 'ISRIC Soil Texture Classification at 0 cm' zoomExtent: @@ -117,7 +117,6 @@ layers: temporalResolution: Annual unit: N/A - - id: soil-texture-15cm stacCol: soil-texture-15cm name: Soil Texture at 15 cm Depth @@ -218,8 +217,6 @@ layers: temporalResolution: Annual unit: N/A - - - id: soil-texture-60cm stacCol: soil-texture-60cm name: Soil Texture at 60 cm Depth @@ -270,8 +267,6 @@ layers: temporalResolution: Annual unit: N/A - - - id: soil-texture-100cm stacCol: soil-texture-100cm name: Soil Texture at 100 cm Depth @@ -281,12 +276,14 @@ layers: - 0 - 20 sourceParams: - colormap: '{"1":"#F89E61", "2":"#BA8560", "3": "#D8D2B4", "4": "#AE734C", "5": "#9E8478", "6": "#C6A365", + resampling: bilinear + bidx: 1 + colormap: '{"1":"#F89E61", "2":"#BA8560", "3": "#D8D2B4", "4": "#AE734C", "5": "#9E8478", "6": "#C6A365", "7":"#B4A67D", "8":"#E1D4C4", "9": "#BEB56D", "10": "#777C7A", "11": "#A89B6F", "12": "#E9E2AF"}' - nodata: 255 - rescale: - - 1 - - 12 + nodata: 255 + rescale: + - 1 + - 12 legend: type: categorical min: "1" @@ -322,8 +319,6 @@ layers: temporalResolution: Annual unit: N/A - - - id: soil-texture-200cm stacCol: soil-texture-200cm name: Soil Texture at 200 cm Depth @@ -374,7 +369,6 @@ layers: temporalResolution: Annual unit: N/A - ---