From fb87ff3e9f7f33674a9d163787773ba44fb272a5 Mon Sep 17 00:00:00 2001 From: Diego Calderon Date: Sun, 27 Feb 2022 20:09:42 -0600 Subject: [PATCH 1/8] added DK's layers --- src/config.js | 156 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) diff --git a/src/config.js b/src/config.js index ecb74b8..814a481 100644 --- a/src/config.js +++ b/src/config.js @@ -57,6 +57,162 @@ export default { 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` } + ], + 'DK Group':[ + { + title: 'B_CEC_meq_100g_RS_2020', + id: 'B_CEC_meq_100g_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'T_SoilpH_RS_2020', + id: 'T_SoilpH_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'B_MC_g_g_RS_2020', + id: 'B_MC_g_g_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'B_OM_RS_2020', + id: 'B_OM_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'B_SoilpH_RS_2020', + id: 'B_SoilpH_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'M_CEC_meq_100g_RS_2020', + id: 'M_CEC_meq_100g_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'M_MC_g_g_RS_2020', + id: 'M_MC_g_g_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'M_OM_RS_2020', + id: 'M_OM_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'M_SOC_RS_2020', + id: 'M_SOC_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'M_SoilpH_RS_2020', + id: 'M_SoilpH_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'T_CEC_meq_100g_RS_2020', + id: 'T_CEC_meq_100g_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'T_MC_g_g_RS_2020', + id: 'T_MC_g_g_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'T_OM_RS_2020', + id: 'T_OM_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + }, + { + title: 'T_SOC_RS_2020', + id: 'T_SOC_RS_2020', + wms: `${process.env.GEOSERVER_URL}/wms`, + opacity: 0.80, + visibility: false, + legendShow: true, + legendStartOpen: false, + legendTitle: 'Opacity', + legendText: '' + } ] } }, From 87209e7fbb3bd8c2b3b7770e90423a83e70b0a87 Mon Sep 17 00:00:00 2001 From: Diego Calderon Date: Tue, 1 Mar 2022 07:29:53 -0600 Subject: [PATCH 2/8] grouped by parameters for dk layers --- src/config.js | 154 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 109 insertions(+), 45 deletions(-) diff --git a/src/config.js b/src/config.js index 814a481..70d9692 100644 --- a/src/config.js +++ b/src/config.js @@ -58,83 +58,115 @@ export default { `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` } ], - 'DK Group':[ + 'Cation Exchange Capacity (meg/100g)':[ { - title: 'B_CEC_meq_100g_RS_2020', - id: 'B_CEC_meq_100g_RS_2020', + title: 'T_CEC_meq_100g_RS_2020', + id: 'T_CEC_meq_100g_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:T_CEC_meq_100g_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` }, { - title: 'T_SoilpH_RS_2020', - id: 'T_SoilpH_RS_2020', + title: 'M_CEC_meq_100g_RS_2020', + id: 'M_CEC_meq_100g_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:M_CEC_meq_100g_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` }, { - title: 'B_MC_g_g_RS_2020', - id: 'B_MC_g_g_RS_2020', + title: 'B_CEC_meq_100g_RS_2020', + id: 'B_CEC_meq_100g_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' - }, + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:B_CEC_meq_100g_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + } + ], + 'Moisture Content (g/g)':[ { - title: 'B_OM_RS_2020', - id: 'B_OM_RS_2020', + title: 'T_MC_g_g_RS_2020', + id: 'T_MC_g_g_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:T_MC_g_g_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` }, { - title: 'B_SoilpH_RS_2020', - id: 'B_SoilpH_RS_2020', + title: 'M_MC_g_g_RS_2020', + id: 'M_MC_g_g_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:M_MC_g_g_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` }, { - title: 'M_CEC_meq_100g_RS_2020', - id: 'M_CEC_meq_100g_RS_2020', + title: 'B_MC_g_g_RS_2020', + id: 'B_MC_g_g_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' - }, + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:B_MC_g_g_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + } + ], + 'Organic Matter (%)':[ { - title: 'M_MC_g_g_RS_2020', - id: 'M_MC_g_g_RS_2020', + title: 'T_OM_RS_2020', + id: 'T_OM_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:T_OM_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` }, { title: 'M_OM_RS_2020', @@ -145,73 +177,105 @@ export default { legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:M_OM_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` }, { - title: 'M_SOC_RS_2020', - id: 'M_SOC_RS_2020', + title: 'B_OM_RS_2020', + id: 'B_OM_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' - }, + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:B_OM_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + } + ], + 'Soil Organic Carbon (%)':[ { - title: 'M_SoilpH_RS_2020', - id: 'M_SoilpH_RS_2020', + title: 'T_SOC_RS_2020', + id: 'T_SOC_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:T_SOC_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` }, { - title: 'T_CEC_meq_100g_RS_2020', - id: 'T_CEC_meq_100g_RS_2020', + title: 'M_SOC_RS_2020', + id: 'M_SOC_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' - }, + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:M_SOC_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + } + ], + 'Soil pH':[ { - title: 'T_MC_g_g_RS_2020', - id: 'T_MC_g_g_RS_2020', + title: 'T_SoilpH_RS_2020', + id: 'T_SoilpH_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:T_SoilpH_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` }, { - title: 'T_OM_RS_2020', - id: 'T_OM_RS_2020', + title: 'M_SoilpH_RS_2020', + id: 'M_SoilpH_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:M_SoilpH_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` }, { - title: 'T_SOC_RS_2020', - id: 'T_SOC_RS_2020', + title: 'B_SoilpH_RS_2020', + id: 'B_SoilpH_RS_2020', wms: `${process.env.GEOSERVER_URL}/wms`, opacity: 0.80, visibility: false, legendShow: true, legendStartOpen: false, legendTitle: 'Opacity', - legendText: '' + legendText: '', + legendImage: '/wms?request=GetMap&' + + 'layers=manual:B_SoilpH_RS_2020&' + + 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + + `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` } ] } From 05661b30a9258401e71da521cdf99003469fb178 Mon Sep 17 00:00:00 2001 From: Jong Lee Date: Tue, 1 Mar 2022 10:51:18 -0600 Subject: [PATCH 3/8] dockerfile update with "master"; updated config.js with working region --- Dockerfile | 2 +- src/config.js | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7d4baa0..15870dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:14 as build -ARG GEODASHBOARD_VERSION=fix/router-basename +ARG GEODASHBOARD_VERSION=master ARG CONTEXT=/ ARG GEOSTREAMS_URL=https://smartfarm.ncsa.illinois.edu/geostreams ARG GEOSERVER_URL=https://smartfarm.ncsa.illinois.edu/geoserver diff --git a/src/config.js b/src/config.js index 70d9692..25e4ea9 100644 --- a/src/config.js +++ b/src/config.js @@ -13,9 +13,13 @@ export default { title: 'Research Region', id: 'manual:research-region', type: 'wms', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:research-region&bbox=-9828873.095744213,4848513.033479578,-9812933.65369004,4867025.709042344&' + - 'width=640&height=480&srs=EPSG:3857&format=image%2Fpng' + legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + }, + { + title: 'Research Region test', + id: 'manual:research-region', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' } ], 'Satellite Multispectral Image SR':[ From 7b048c45381d56d393da8a6cbe4cb31e08032ca4 Mon Sep 17 00:00:00 2001 From: Diego Calderon Date: Tue, 1 Mar 2022 11:39:10 -0600 Subject: [PATCH 4/8] updated ids --- src/config.js | 230 ++++++++++---------------------------------------- 1 file changed, 46 insertions(+), 184 deletions(-) diff --git a/src/config.js b/src/config.js index 25e4ea9..a941859 100644 --- a/src/config.js +++ b/src/config.js @@ -27,19 +27,13 @@ export default { title: 'SR 09-30-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.30.SR', type: 'wms', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:SatelliteImage.Reifsteck.2020.09.30.SR&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - '&width=640&height=480&srs=EPSG:3857&format=image%2Fpng' + legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' }, { title: 'SR 09-01-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.01.SR', type: 'wms', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:SatelliteImage.Reifsteck.2020.09.01.SR&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - '&width=640&height=480&srs=EPSG:3857&format=image%2Fpng' + legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' } ], 'Satellite Multispectral Image NDVI': [ @@ -47,239 +41,107 @@ export default { title: 'NDVI 09-30-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.30.NDVI', type: 'wms', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:SatelliteImage.Reifsteck.2020.09.30.NDVI&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - '&width=640&height=480&srs=EPSG:3857&format=image%2Fpng' + legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' }, { title: 'NDVI 09-01-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.01.NDVI', type: 'wms', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:SatelliteImage.Reifsteck.2020.09.01.NDVI&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' } ], 'Cation Exchange Capacity (meg/100g)':[ { title: 'T_CEC_meq_100g_RS_2020', - id: 'T_CEC_meq_100g_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:T_CEC_meq_100g_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:T_CEC_meq_100g_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:T_CEC_meq_100g_RS_2020&format=image%2Fpng' }, { title: 'M_CEC_meq_100g_RS_2020', - id: 'M_CEC_meq_100g_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:M_CEC_meq_100g_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:M_CEC_meq_100g_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:M_CEC_meq_100g_RS_2020&format=image%2Fpng' }, { title: 'B_CEC_meq_100g_RS_2020', - id: 'B_CEC_meq_100g_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:B_CEC_meq_100g_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:B_CEC_meq_100g_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:B_CEC_meq_100g_RS_2020&format=image%2Fpng' } ], 'Moisture Content (g/g)':[ { title: 'T_MC_g_g_RS_2020', - id: 'T_MC_g_g_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:T_MC_g_g_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:T_MC_g_g_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:T_MC_g_g_RS_2020&format=image%2Fpng' }, { title: 'M_MC_g_g_RS_2020', - id: 'M_MC_g_g_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:M_MC_g_g_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:M_MC_g_g_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:M_MC_g_g_RS_2020&format=image%2Fpng' }, { title: 'B_MC_g_g_RS_2020', - id: 'B_MC_g_g_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:B_MC_g_g_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:B_MC_g_g_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:B_MC_g_g_RS_2020&format=image%2Fpng' } ], 'Organic Matter (%)':[ { title: 'T_OM_RS_2020', - id: 'T_OM_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:T_OM_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:T_OM_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:T_OM_RS_2020&format=image%2Fpng' }, { title: 'M_OM_RS_2020', - id: 'M_OM_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:M_OM_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:M_OM_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:M_OM_RS_2020&format=image%2Fpng' }, { title: 'B_OM_RS_2020', - id: 'B_OM_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:B_OM_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:B_OM_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:B_OM_RS_2020&format=image%2Fpng' } ], 'Soil Organic Carbon (%)':[ { title: 'T_SOC_RS_2020', - id: 'T_SOC_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:T_SOC_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:T_SOC_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:T_SOC_RS_2020&format=image%2Fpng' }, { title: 'M_SOC_RS_2020', - id: 'M_SOC_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:M_SOC_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:M_SOC_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:M_SOC_RS_2020&format=image%2Fpng' } ], 'Soil pH':[ { title: 'T_SoilpH_RS_2020', - id: 'T_SoilpH_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:T_SoilpH_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:T_SoilpH_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:T_SoilpH_RS_2020&format=image%2Fpng' }, { title: 'M_SoilpH_RS_2020', - id: 'M_SoilpH_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:M_SoilpH_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:M_SoilpH_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:M_SoilpH_RS_2020&format=image%2Fpng' }, { title: 'B_SoilpH_RS_2020', - id: 'B_SoilpH_RS_2020', - wms: `${process.env.GEOSERVER_URL}/wms`, - opacity: 0.80, - visibility: false, - legendShow: true, - legendStartOpen: false, - legendTitle: 'Opacity', - legendText: '', - legendImage: '/wms?request=GetMap&' + - 'layers=manual:B_SoilpH_RS_2020&' + - 'bbox=-9828974.37528645,4866229.991661974,-9827597.817471862,4867541.604250039' + - `&width=640&height=480&srs=EPSG:3857&format=image%2Fpng` + id: 'manual:B_SoilpH_RS_2020', + type: 'wms', + legendImage: '/wms?request=GetLegendGraphic&layer=manual:B_SoilpH_RS_2020&format=image%2Fpng' } ] } From 0b5e5d265c39e5a81756fd20e7cd859836645232 Mon Sep 17 00:00:00 2001 From: Jong Lee Date: Tue, 1 Mar 2022 12:52:21 -0600 Subject: [PATCH 5/8] fixed legend attribute for layer --- src/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.js b/src/config.js index 25e4ea9..72ef58c 100644 --- a/src/config.js +++ b/src/config.js @@ -13,13 +13,13 @@ export default { title: 'Research Region', id: 'manual:research-region', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' }, { title: 'Research Region test', id: 'manual:research-region', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' } ], 'Satellite Multispectral Image SR':[ From bbde70274ad4c037d0a6dca8a3c148cf96a0d915 Mon Sep 17 00:00:00 2001 From: Jong Lee Date: Tue, 1 Mar 2022 14:13:14 -0600 Subject: [PATCH 6/8] added new research site layers --- src/config.js | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/config.js b/src/config.js index 0d2f248..06bfcce 100644 --- a/src/config.js +++ b/src/config.js @@ -8,18 +8,24 @@ export default { zoom: 17, center: [-9828406.19,4866853.78], layers: { - 'Research Region':[ + 'Research Sites':[ { - title: 'Research Region', - id: 'manual:research-region', + title: 'Reifsteck Site', + id: '621e7bcbe4b076cdad3c289c:reifsteck-site.zip_621e7bdfe4b076cdad3c28a2', type: 'wms', - legend: 'wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=621e7bcbe4b076cdad3c289c:reifsteck-site.zip_621e7bdfe4b076cdad3c28a2&format=image%2Fpng' }, { - title: 'Research Region test', - id: 'manual:research-region', + title: 'Reinhart Site', + id: '621e7c05e4b076cdad3c28b3:reinhart-site.zip_621e7c0ce4b076cdad3c28b8', type: 'wms', - legend: 'wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=621e7c05e4b076cdad3c28b3:reinhart-site.zip_621e7c0ce4b076cdad3c28b8&format=image%2Fpng' + }, + { + title: 'Rund Site', + id: '621e7c1ce4b076cdad3c28ca:rund-site.zip_621e7c25e4b076cdad3c28cf', + type: 'wms', + legend: 'wms?request=GetLegendGraphic&layer=621e7c1ce4b076cdad3c28ca:rund-site.zip_621e7c25e4b076cdad3c28cf&format=image%2Fpng' } ], 'Satellite Multispectral Image SR':[ From b23108b5a1bee5a7057adf357fbaa831dd8c919a Mon Sep 17 00:00:00 2001 From: Diego Calderon Date: Tue, 1 Mar 2022 14:58:19 -0600 Subject: [PATCH 7/8] updated title and legend --- src/config.js | 64 +++++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/src/config.js b/src/config.js index 06bfcce..f1aa8d0 100644 --- a/src/config.js +++ b/src/config.js @@ -33,13 +33,13 @@ export default { title: 'SR 09-30-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.30.SR', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' }, { title: 'SR 09-01-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.01.SR', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' } ], 'Satellite Multispectral Image NDVI': [ @@ -47,107 +47,107 @@ export default { title: 'NDVI 09-30-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.30.NDVI', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' }, { title: 'NDVI 09-01-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.01.NDVI', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' } ], 'Cation Exchange Capacity (meg/100g)':[ { - title: 'T_CEC_meq_100g_RS_2020', + title: 'Top Layer CEC', id: 'manual:T_CEC_meq_100g_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:T_CEC_meq_100g_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:T_CEC_meq_100g_RS_2020&format=image%2Fpng' }, { - title: 'M_CEC_meq_100g_RS_2020', + title: 'Middle Layer CEC', id: 'manual:M_CEC_meq_100g_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:M_CEC_meq_100g_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:M_CEC_meq_100g_RS_2020&format=image%2Fpng' }, { - title: 'B_CEC_meq_100g_RS_2020', + title: 'Bottom Layer CEC', id: 'manual:B_CEC_meq_100g_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:B_CEC_meq_100g_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:B_CEC_meq_100g_RS_2020&format=image%2Fpng' } ], 'Moisture Content (g/g)':[ { - title: 'T_MC_g_g_RS_2020', + title: 'Top Layer MC', id: 'manual:T_MC_g_g_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:T_MC_g_g_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:T_MC_g_g_RS_2020&format=image%2Fpng' }, { - title: 'M_MC_g_g_RS_2020', + title: 'Middle Layer MC', id: 'manual:M_MC_g_g_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:M_MC_g_g_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:M_MC_g_g_RS_2020&format=image%2Fpng' }, { - title: 'B_MC_g_g_RS_2020', + title: 'Bottom Layer MC', id: 'manual:B_MC_g_g_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:B_MC_g_g_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:B_MC_g_g_RS_2020&format=image%2Fpng' } ], 'Organic Matter (%)':[ { - title: 'T_OM_RS_2020', + title: 'Top Layer OM', id: 'manual:T_OM_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:T_OM_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:T_OM_RS_2020&format=image%2Fpng' }, { - title: 'M_OM_RS_2020', + title: 'Middle Layer OM', id: 'manual:M_OM_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:M_OM_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:M_OM_RS_2020&format=image%2Fpng' }, { - title: 'B_OM_RS_2020', + title: 'Bottom Layer OM', id: 'manual:B_OM_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:B_OM_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:B_OM_RS_2020&format=image%2Fpng' } ], 'Soil Organic Carbon (%)':[ { - title: 'T_SOC_RS_2020', + title: 'Top Layer SOC', id: 'manual:T_SOC_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:T_SOC_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:T_SOC_RS_2020&format=image%2Fpng' }, { - title: 'M_SOC_RS_2020', + title: 'Middle Layer SOC', id: 'manual:M_SOC_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:M_SOC_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:M_SOC_RS_2020&format=image%2Fpng' } ], 'Soil pH':[ { - title: 'T_SoilpH_RS_2020', + title: 'Top Layer Soil pH', id: 'manual:T_SoilpH_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:T_SoilpH_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:T_SoilpH_RS_2020&format=image%2Fpng' }, { - title: 'M_SoilpH_RS_2020', + title: 'Middle Layer Soil pH', id: 'manual:M_SoilpH_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:M_SoilpH_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:M_SoilpH_RS_2020&format=image%2Fpng' }, { - title: 'B_SoilpH_RS_2020', + title: 'Bottom Layer Soil pH', id: 'manual:B_SoilpH_RS_2020', type: 'wms', - legendImage: '/wms?request=GetLegendGraphic&layer=manual:B_SoilpH_RS_2020&format=image%2Fpng' + legend: '/wms?request=GetLegendGraphic&layer=manual:B_SoilpH_RS_2020&format=image%2Fpng' } ] } From a9056ab6c663e1de0891e4f96195e9c128f67762 Mon Sep 17 00:00:00 2001 From: Diego Calderon Date: Tue, 1 Mar 2022 17:47:12 -0600 Subject: [PATCH 8/8] removed unnecessary / --- src/config.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/config.js b/src/config.js index f1aa8d0..b6cfd96 100644 --- a/src/config.js +++ b/src/config.js @@ -33,13 +33,13 @@ export default { title: 'SR 09-30-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.30.SR', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' }, { title: 'SR 09-01-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.01.SR', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' } ], 'Satellite Multispectral Image NDVI': [ @@ -47,13 +47,13 @@ export default { title: 'NDVI 09-30-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.30.NDVI', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' }, { title: 'NDVI 09-01-2020', id: 'manual:SatelliteImage.Reifsteck.2020.09.01.NDVI', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:research-region&format=image%2Fpng' } ], 'Cation Exchange Capacity (meg/100g)':[ @@ -61,19 +61,19 @@ export default { title: 'Top Layer CEC', id: 'manual:T_CEC_meq_100g_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:T_CEC_meq_100g_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:T_CEC_meq_100g_RS_2020&format=image%2Fpng' }, { title: 'Middle Layer CEC', id: 'manual:M_CEC_meq_100g_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:M_CEC_meq_100g_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:M_CEC_meq_100g_RS_2020&format=image%2Fpng' }, { title: 'Bottom Layer CEC', id: 'manual:B_CEC_meq_100g_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:B_CEC_meq_100g_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:B_CEC_meq_100g_RS_2020&format=image%2Fpng' } ], 'Moisture Content (g/g)':[ @@ -81,19 +81,19 @@ export default { title: 'Top Layer MC', id: 'manual:T_MC_g_g_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:T_MC_g_g_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:T_MC_g_g_RS_2020&format=image%2Fpng' }, { title: 'Middle Layer MC', id: 'manual:M_MC_g_g_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:M_MC_g_g_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:M_MC_g_g_RS_2020&format=image%2Fpng' }, { title: 'Bottom Layer MC', id: 'manual:B_MC_g_g_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:B_MC_g_g_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:B_MC_g_g_RS_2020&format=image%2Fpng' } ], 'Organic Matter (%)':[ @@ -101,19 +101,19 @@ export default { title: 'Top Layer OM', id: 'manual:T_OM_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:T_OM_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:T_OM_RS_2020&format=image%2Fpng' }, { title: 'Middle Layer OM', id: 'manual:M_OM_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:M_OM_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:M_OM_RS_2020&format=image%2Fpng' }, { title: 'Bottom Layer OM', id: 'manual:B_OM_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:B_OM_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:B_OM_RS_2020&format=image%2Fpng' } ], 'Soil Organic Carbon (%)':[ @@ -121,13 +121,13 @@ export default { title: 'Top Layer SOC', id: 'manual:T_SOC_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:T_SOC_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:T_SOC_RS_2020&format=image%2Fpng' }, { title: 'Middle Layer SOC', id: 'manual:M_SOC_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:M_SOC_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:M_SOC_RS_2020&format=image%2Fpng' } ], 'Soil pH':[ @@ -135,19 +135,19 @@ export default { title: 'Top Layer Soil pH', id: 'manual:T_SoilpH_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:T_SoilpH_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:T_SoilpH_RS_2020&format=image%2Fpng' }, { title: 'Middle Layer Soil pH', id: 'manual:M_SoilpH_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:M_SoilpH_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:M_SoilpH_RS_2020&format=image%2Fpng' }, { title: 'Bottom Layer Soil pH', id: 'manual:B_SoilpH_RS_2020', type: 'wms', - legend: '/wms?request=GetLegendGraphic&layer=manual:B_SoilpH_RS_2020&format=image%2Fpng' + legend: 'wms?request=GetLegendGraphic&layer=manual:B_SoilpH_RS_2020&format=image%2Fpng' } ] }