{ "id": "219", "displayName": "Oregon HUC12s with Irrigation", "shortDisplayName": null, "description": "", "connectionString": "url=https://arcgis-prod.oregonexplorer.info/arcgis/rest/services/Water/or_huc12_ET_summaries_2022/MapServer;layerMask=Oregon HUC12s with Irrigation", "copyright": "", "hasAttributionData": false, "serviceType": "Dynamic", "serviceFunction": "Operational", "baseMapGroup": null, "baseMapGroupIndex": "", "baseMapGroupIsMutuallyExclusive": false, "opacity": 0, "visible": true, "initiallyVisible": true, "drawingBehavior": "MapService", "iconUri": null, "includeInLayerList": true, "defaultAllowSymbolization": true, "isExpanded": true, "updateInterval": null, "dataProvider": null, "disableClientCaching": null, "serviceTag": "Uf6S4Qf5R97LERVpdnphqk0ajPPDSaPvSwfI68BQc8o=", "identifiable": null, "includeMosaicDatasetValues": null, "includeCatalogItems": null, "includeInLegend": null, "startTime": null, "endTime": null, "serverVersion": "11.1", "failureAction": "Warn", "failureTimeout": null, "requestEncoding": null, "supportsDynamicLayers": true, "hasLayerCatalog": false, "format": null, "themeSettings": [], "layerHyperlinks": [], "tileInfo": {}, "instantSearch": false, "layers": [ { "id": "14", "name": "Oregon HUC12s with Irrigation", "nativeID": "14", "displayName": "Oregon HUC12s with Irrigation", "description": "Fields were considered irrigated for the given year if >40% of the field area was classified as being irrigated by IrrMapper. If the field acreages and other data values below are shown as 0’s for a HUC12 in a given year, this means that there were no fields classified as being irrigated that year within the HUC boundary.\n\nAttribute Table Format:\nhuc12_1 – HUC 12 code \nname – HUC 12 name\nACRES_[YEAR] – Total irrigated field boundary area for the given year (year is abbreviated) in acres\nEFF_[YEAR] – Total effective precipitation volume from ET Demands for the given shifted water year (Nov-Oct) in acre-feet\nET_[YEAR] – Total OpenET ensemble evapotranspiration volume for the given shifted water year (Nov-Oct) in acre-feet\nIRR_CU_[YEAR] – Total consumptive use from irrigation (Net ET; ET - effective precip) for the given shifted water year (Nov-Oct) in acre-feet\nPPT_[YEAR] – Total gridMET precipitation volume for the given shifted water year (Nov-Oct) in acre-feet", "defaultVisibility": false, "featureType": "Polygon", "type": "FeatureLayer", "maxScale": 0, "minScale": 0, "visible": true, "initiallyVisible": false, "showMapTips": true, "identifiable": true, "queryable": true, "searchable": false, "supportsIdentify": true, "supportsQuery": true, "canCopyFeature": true, "snappable": true, "snappingEnabled": false, "hasAttachments": false, "featureZoomFactor": null, "featureZoomScale": null, "featureBorderColor": null, "featureBorderWidth": null, "featureFillColor": null, "showFeatureHyperlinks": "ShowAll", "iconUri": null, "includeInLayerList": true, "includeInLegend": true, "allowSymbolization": true, "legendUrl": null, "styleName": null, "drawIndex": null, "canToggleLabels": false, "showLabels": true, "dataProvider": null, "featureLabel": "{name}", "featureDescription": "

{name}

{huc12_1}\r\n
\r\n\r\nTotal HUC12 Area (Acres): {formattedArea}\r\n", "featureLongDescription": null, "displayField": "name", "primaryKeyField": "FID", "fullExtent": { "xmin": -13871848.648705572, "ymin": 4977019.3818708882, "xmax": -12908438.250178376, "ymax": 5863175.3841404272, "spatialReference": { "wkid": 102100 } }, "parentLayerId": null, "subLayerIds": [], "hasReports": false, "hasDataLinks": false, "fields": [ { "displayName": "FID", "uniqueValue": true, "name": "FID", "alias": "FID", "visible": true, "dataType": "Int32", "searchable": true, "classBreaks": true }, { "displayName": "Shape", "uniqueValue": false, "name": "Shape", "alias": "Shape", "visible": true, "dataType": "Object", "searchable": true, "classBreaks": false }, { "displayName": "ACRES_16", "uniqueValue": true, "name": "ACRES_16", "alias": "ACRES_16", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ACRES_17", "uniqueValue": true, "name": "ACRES_17", "alias": "ACRES_17", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ACRES_18", "uniqueValue": true, "name": "ACRES_18", "alias": "ACRES_18", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ACRES_19", "uniqueValue": true, "name": "ACRES_19", "alias": "ACRES_19", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ACRES_20", "uniqueValue": true, "name": "ACRES_20", "alias": "ACRES_20", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ACRES_21", "uniqueValue": true, "name": "ACRES_21", "alias": "ACRES_21", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "EFF_16", "uniqueValue": true, "name": "EFF_16", "alias": "EFF_16", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "EFF_17", "uniqueValue": true, "name": "EFF_17", "alias": "EFF_17", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "EFF_18", "uniqueValue": true, "name": "EFF_18", "alias": "EFF_18", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "EFF_19", "uniqueValue": true, "name": "EFF_19", "alias": "EFF_19", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "EFF_20", "uniqueValue": true, "name": "EFF_20", "alias": "EFF_20", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "EFF_21", "uniqueValue": true, "name": "EFF_21", "alias": "EFF_21", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ET_16", "uniqueValue": true, "name": "ET_16", "alias": "ET_16", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ET_17", "uniqueValue": true, "name": "ET_17", "alias": "ET_17", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ET_18", "uniqueValue": true, "name": "ET_18", "alias": "ET_18", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ET_19", "uniqueValue": true, "name": "ET_19", "alias": "ET_19", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ET_20", "uniqueValue": true, "name": "ET_20", "alias": "ET_20", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "ET_21", "uniqueValue": true, "name": "ET_21", "alias": "ET_21", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "HUC12", "uniqueValue": true, "name": "HUC12", "alias": "HUC12", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "IRR_CU_16", "uniqueValue": true, "name": "IRR_CU_16", "alias": "IRR_CU_16", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "IRR_CU_17", "uniqueValue": true, "name": "IRR_CU_17", "alias": "IRR_CU_17", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "IRR_CU_18", "uniqueValue": true, "name": "IRR_CU_18", "alias": "IRR_CU_18", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "IRR_CU_19", "uniqueValue": true, "name": "IRR_CU_19", "alias": "IRR_CU_19", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "IRR_CU_20", "uniqueValue": true, "name": "IRR_CU_20", "alias": "IRR_CU_20", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "IRR_CU_21", "uniqueValue": true, "name": "IRR_CU_21", "alias": "IRR_CU_21", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "PPT_16", "uniqueValue": true, "name": "PPT_16", "alias": "PPT_16", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "PPT_17", "uniqueValue": true, "name": "PPT_17", "alias": "PPT_17", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "PPT_18", "uniqueValue": true, "name": "PPT_18", "alias": "PPT_18", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "PPT_19", "uniqueValue": true, "name": "PPT_19", "alias": "PPT_19", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "PPT_20", "uniqueValue": true, "name": "PPT_20", "alias": "PPT_20", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "PPT_21", "uniqueValue": true, "name": "PPT_21", "alias": "PPT_21", "visible": true, "dataType": "Double", "searchable": true, "classBreaks": true }, { "displayName": "areaacres", "uniqueValue": true, "name": "areaacres", "alias": "areaacres", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "areasqkm", "uniqueValue": true, "name": "areasqkm", "alias": "areasqkm", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "gnis_id", "uniqueValue": true, "name": "gnis_id", "alias": "gnis_id", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "huc12_1", "uniqueValue": true, "name": "huc12_1", "alias": "huc12_1", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "huc_str", "uniqueValue": true, "name": "huc_str", "alias": "huc_str", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "humod", "uniqueValue": true, "name": "humod", "alias": "humod", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "hutype", "uniqueValue": true, "name": "hutype", "alias": "hutype", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "loaddate", "uniqueValue": true, "name": "loaddate", "alias": "loaddate", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "metasource", "uniqueValue": true, "name": "metasource", "alias": "metasource", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "name", "uniqueValue": true, "name": "name", "alias": "name", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "noncontr00", "uniqueValue": true, "name": "noncontr00", "alias": "noncontr00", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "noncontrib", "uniqueValue": true, "name": "noncontrib", "alias": "noncontrib", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "shape_area", "uniqueValue": true, "name": "shape_area", "alias": "shape_area", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "shape_leng", "uniqueValue": true, "name": "shape_leng", "alias": "shape_leng", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "sourcedata", "uniqueValue": true, "name": "sourcedata", "alias": "sourcedata", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "sourcefeat", "uniqueValue": true, "name": "sourcefeat", "alias": "sourcefeat", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "sourceorig", "uniqueValue": true, "name": "sourceorig", "alias": "sourceorig", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "states", "uniqueValue": true, "name": "states", "alias": "states", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "tnmid", "uniqueValue": true, "name": "tnmid", "alias": "tnmid", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false }, { "displayName": "tohuc", "uniqueValue": true, "name": "tohuc", "alias": "tohuc", "visible": true, "dataType": "String", "searchable": true, "classBreaks": false } ], "featureHyperlinks": [], "layerHyperlinks": [], "arcadeExpressions": [ { "expression": "//get huc12\r\nvar huc12 = $feature.huc12_1;\r\nvar hucName = $feature.name;\r\nvar filterStatement = \"huc12 = @huc12\";\r\n\r\nfunction GetValueColor(value) {\r\n// replace # with %23 to pass encoded\r\nvar valueColor = When(\r\n value < 1207, '%239e6214',\r\n value >=1207 && value < 3485, '#b07b21',\r\n value >=3485 && value < 6885, '#bf932e', \r\n value >=6885 && value < 11076, '#d1b13d', \r\n value >=11076 && value < 15805, '#e3cf4d', \r\n value >=15805 && value < 21063, '#f2eb5c', \r\n value >=21063 && value < 27789, '#e8e870', \r\n value >=27789 && value < 36217, '#c2c27e', \r\n value >=36217 && value < 47396, '#9da18e', \r\n value >=47396 && value < 67866, '#3758096', \r\n value >=67866 && value < 108940, '#4b65a1', \r\n value > 108940, '#004ba8', '');\r\n \r\n return valueColor;\r\n}\r\n///////////////////////\r\n//ET \r\n///////////////////////\r\n//get 2021 Ensemble data\r\nvar et2021Value = $feature.ET_21;\r\nvar et2021Color = GetValueColor(et2021Value);\r\n\r\n//get 2020 Ensemble data\r\nvar et2020Value = $feature.ET_20;\r\nvar et2020Color = GetValueColor(et2020Value);\r\n\r\n//get 2019 Ensemble data\r\nvar et2019Value = $feature.ET_19;;\r\nvar et2019Color = GetValueColor(et2019Value);\r\n\r\n//get 2018 Ensemble data\r\nvar et2018Value = $feature.ET_18;\r\nvar et2018Color = GetValueColor(et2018Value);\r\n\r\n//get 2017 Ensemble data\r\nvar et2017Value = $feature.ET_17;\r\nvar et2017Color = GetValueColor(et2017Value);\r\n\r\n//get 2016 Ensemble data\r\nvar et2016Value = $feature.ET_16;\r\nvar et2016Color = GetValueColor(et2016Value);\r\n\r\n///////////////////////\r\n//Consumptive Use\r\n///////////////////////\r\n//get 2021 Ensemble data\r\nvar et2021Value_CU = $feature.IRR_CU_21;\r\nvar et2021Color_CU = GetValueColor(et2021Value_CU);\r\n\r\n//get 2020 Ensemble data\r\nvar et2020Value_CU = $feature.IRR_CU_20;\r\nvar et2020Color_CU = GetValueColor(et2020Value_CU);\r\n\r\n//get 2019 Ensemble data\r\nvar et2019Value_CU = $feature.IRR_CU_19;\r\nvar et2019Color_CU = GetValueColor(et2019Value_CU);\r\n\r\n//get 2018 Ensemble data\r\nvar et2018Value_CU = $feature.IRR_CU_18;\r\nvar et2018Color_CU = GetValueColor(et2018Value_CU);\r\n\r\n//get 2017 Ensemble data\r\nvar et2017Value_CU = $feature.IRR_CU_17;\r\nvar et2017Color_CU = GetValueColor(et2017Value_CU);\r\n\r\n//get 2016 Ensemble data\r\nvar et2016Value_CU = $feature.IRR_CU_16;\r\nvar et2016Color_CU = GetValueColor(et2016Value_CU);\r\n\r\nvar jObject = {};\r\njObject.type = 'bar';\r\njObject.data = {\r\n\tlabels: ['2016', '2017', '2018', '2019', '2020', '2021'],\r\n\tdatasets: [{\r\n\t label: 'Evapotranspiration',\r\n\t\t//backgroundColor: [et2016Color,et2017Color,et2018Color,et2019Color,et2020Color,et2021Color],\r\n\t\tdata: [et2016Value,et2017Value,et2018Value,et2019Value,et2020Value,et2021Value]\r\n\t},\r\n\t{\r\n\t\tlabel: 'Consumptive Use Irrigated',\r\n\t\t//backgroundColor: [et2016Color_CU,et2017Color_CU,et2018Color_CU,et2019Color_CU,et2020Color_CU,et2021Color_CU],\r\n\t\tdata: [et2016Value_CU,et2017Value_CU,et2018Value_CU,et2019Value_CU,et2020Value_CU,et2021Value_CU]\t\t\r\n\t}]\r\n}\r\njObject.options = {\r\n\t\tlegend: {\r\n\t\t\tdisplay: true\r\n\t\t},\r\n\t\ttitle: {\r\n\t\t\tdisplay: true,\r\n\t\t\ttext: 'Irrigated Ag Evapotranspiration for ' + hucName\r\n\t\t},\r\n\t\tscales: {\r\n\t\t\tyAxes: [{\r\n\t\t\t\tscaleLabel: {\r\n\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\tlabelString: 'Acre-Feet'\r\n\t\t\t\t}\r\n\t\t\t}],\r\n\t\t\txAxes: [{\r\n\t\t\t\tscaleLabel: {\r\n\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\tlabelString: 'Year'\r\n\t\t\t\t}\r\n\t\t\t}]\r\n\t\t}\r\n\t}\r\n\r\n\r\nvar jString = \"\"+jObject;\r\n\r\nvar url = \"https://quickchart.io/chart?c=\" + UrlEncode(jString);\r\nreturn url;\r\n\r\n", "token": "etChart" }, { "expression": "//get huc12\r\nvar huc12 = $feature.huc12_1;\r\nvar hucName = $feature.name;\r\n\r\n///////////////////////\r\n//Total acreage \r\n///////////////////////\r\n//get huc12 total acreage\r\nvar huc12AreaAcres = $feature.areaacres;\r\n\r\n\r\n///////////////////////\r\n//Irrigated Acres by year\r\n///////////////////////\r\n\r\nvar irrAcres21 = $feature.ACRES_21;\r\nvar irrAcres20 = $feature.ACRES_20;\r\nvar irrAcres19 = $feature.ACRES_19;\r\nvar irrAcres18 = $feature.ACRES_18;\r\nvar irrAcres17 = $feature.ACRES_17;\r\nvar irrAcres16 = $feature.ACRES_16;\r\n\r\n\r\n\r\nvar jObject = {};\r\njObject.type = 'bar';\r\njObject.data = {\r\n\tlabels: ['2016', '2017', '2018', '2019', '2020', '2021'],\r\n\tdatasets: [{\r\n\t label: 'Acres Irrigated',\r\n\t\tdata: [irrAcres16,irrAcres17,irrAcres18,irrAcres19,irrAcres20,irrAcres21],\r\n\t\tdatalabels: {\r\n display: false,\r\n color: 'black',\r\n backgroundColor: 'white',\r\n align: 'center',\r\n anchor: 'center',\r\n font: {\r\n weight: 'bold'\r\n }\r\n }\r\n\t}\r\n\t]\r\n}\r\njObject.options = {\r\n\t\tlegend: {\r\n\t\t\tdisplay: true\r\n\t\t},\r\n\t\ttitle: {\r\n\t\t\tdisplay: true,\r\n\t\t\ttext: 'Irrigated Acres by Year for ' + hucName\r\n\t\t},\r\n\t\tscales: {\r\n\t\t\tyAxes: [{\r\n\t\t\t\tscaleLabel: {\r\n\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\tlabelString: 'Acres'\r\n\t\t\t\t}\r\n\t\t\t}],\r\n\t\t\txAxes: [{\r\n\t\t\t\tscaleLabel: {\r\n\t\t\t\t\tdisplay: true,\r\n\t\t\t\t\tlabelString: 'Year'\r\n\t\t\t\t}\r\n\t\t\t}]\r\n\t\t}\r\n\t}\r\n\r\n\r\nvar jString = \"\"+jObject;\r\n\r\nvar url = \"https://quickchart.io/chart?c=\" + UrlEncode(jString);\r\nreturn url;\r\n\r\n", "token": "acreChart" }, { "expression": "return Text(Number($feature.areaacres),\"#,#00\")", "token": "formattedArea" } ], "isDynamic": false, "dynamicDefinition": null, "themeSettings": [], "tileLevelLimits": [] } ], "tables": [], "fullExtent": { "xmin": -124.61293660124946, "ymin": 40.760091668235411, "xmax": -115.95847374248287, "ymax": 46.514440201708453, "spatialReference": { "wkid": 4326 } }, "spatialReference": { "wkid": 4326 }, "properties": [], "extensions": [] }