{ "tables": [], "layers": [{ "extent": { "ymin": 383589.87824074179, "zmin": 0, "xmin": -35070.877549339086, "ymax": 761611.34201256931, "zmax": 0, "xmax": 219485.14942682907, "spatialReference": { "falseM": -100000, "xyTolerance": 0.0032808333333333331, "mUnits": 10000, "zUnits": 10000, "latestWkid": 8213, "zTolerance": 0.001, "wkid": 103404, "xyUnits": 3048.00609601219276, "mTolerance": 0.001, "falseX": -18345200, "falseY": -48426700, "falseZ": -100000 } }, "maxRecordCount": 2000, "datesInUnknownTimezone": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "type": "Feature Layer", "maxSelectionCount": 2000, "subtypes": [], "relationships": [], "cimVersion": "3.7.0", "isDataArchived": false, "id": 1, "archivingInfo": { "startArchivingMoment": -1, "supportsQueryWithHistoricMoment": false }, "spatialReference": { "falseM": -100000, "xyTolerance": 0.0032808333333333331, "mUnits": 10000, "zUnits": 10000, "latestWkid": 8213, "zTolerance": 0.001, "wkid": 103404, "xyUnits": 3048.00609601219276, "mTolerance": 0.001, "falseX": -18345200, "falseY": -48426700, "falseZ": -100000 }, "subtypeFieldName": null, "supportsStatistics": true, "hasLastEditTime": false, "standardMaxRecordCount": 32000, "isDataVersioned": false, "supportsAdvancedQueries": true, "parentLayer": null, "subLayers": [], "currentVersion": 12.1, "referenceScale": 0, "canScaleSymbols": false, "hasZ": true, "name": "Water_Gauges", "displayField": "StationName", "fields": [ { "nullable": false, "domain": null, "name": "OBJECTID", "alias": "OBJECTID", "type": "esriFieldTypeOID" }, { "nullable": true, "domain": null, "name": "Shape", "alias": "Shape", "type": "esriFieldTypeGeometry" }, { "nullable": true, "domain": null, "name": "StationID", "length": 30, "alias": "Agency Station ID", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "StationName", "length": 150, "alias": "Official Station Name", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "DisplayName", "length": 80, "alias": "Display Name", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "Agency", "length": 12, "alias": "Source Agency", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "GaugeType", "length": 24, "alias": "Gauge Type", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "Waterbody", "length": 100, "alias": "Waterbody", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "County", "length": 50, "alias": "County", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "ObsDateTime", "length": 8, "alias": "Observation Date and Time", "type": "esriFieldTypeDate" }, { "nullable": true, "domain": null, "name": "StageFt", "alias": "Gage Height (ft)", "type": "esriFieldTypeDouble" }, { "nullable": true, "domain": null, "name": "DischargeCFS", "alias": "Discharge (cfs)", "type": "esriFieldTypeDouble" }, { "nullable": true, "domain": null, "name": "WaterElevFt", "alias": "Water Surface Elevation (ft)", "type": "esriFieldTypeDouble" }, { "nullable": true, "domain": null, "name": "VerticalDatum", "length": 40, "alias": "Water Elevation Vertical Datum", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "StageDatum", "length": 40, "alias": "Gage Datum Reference", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "WaterTempF", "alias": "Water Temperature (F)", "type": "esriFieldTypeDouble" }, { "nullable": true, "domain": null, "name": "DataStatus", "length": 30, "alias": "Data Status", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "Qualifier", "length": 100, "alias": "Observation Qualifier", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "LastUpdated", "length": 8, "alias": "Last Successful Refresh", "type": "esriFieldTypeDate" }, { "nullable": true, "domain": null, "name": "DataAgeMin", "alias": "Observation Age (minutes at refresh)", "type": "esriFieldTypeInteger" }, { "nullable": true, "domain": null, "name": "IsStale", "alias": "Stale Observation (1=yes)", "type": "esriFieldTypeSmallInteger" }, { "nullable": true, "domain": null, "name": "SourceURL", "length": 500, "alias": "Station Information URL", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "SourceAPI", "length": 500, "alias": "Observation API Source", "type": "esriFieldTypeString" }, { "nullable": true, "domain": null, "name": "Latitude", "alias": "Source Latitude (WGS84)", "type": "esriFieldTypeDouble" }, { "nullable": true, "domain": null, "name": "Longitude", "alias": "Source Longitude (WGS84)", "type": "esriFieldTypeDouble" }, { "nullable": true, "domain": null, "name": "DrainageSqMi", "alias": "Drainage Area (sq mi)", "type": "esriFieldTypeDouble" }, { "nullable": true, "domain": { "splitPolicy": "esriSPTDefaultValue", "name": "FloodStatus", "description": "Flood Status roughly based on NWS standards", "type": "codedValue", "codedValues": [ { "code": "BELOW_ACTION", "name": "Below Action State" }, { "code": "ACTION", "name": "Action State" }, { "code": "MINOR", "name": "Minor Flooding" }, { "code": "MODERATE", "name": "Moderate Flooding" }, { "code": "MAJOR", "name": "Major Flooding" }, { "code": "RECORD", "name": "Record Flooding" }, { "code": "UNKNOWN", "name": "Flood Category Not Available" } ], "mergePolicy": "esriMPTDefaultValue" }, "name": "FloodStatus", "length": 12, "alias": "Flood status derived", "type": "esriFieldTypeString" } ], "maxRecordCountFactor": 1, "dateFieldsTimeReference": { "timeZoneIANA": "America/Chicago", "respectsDaylightSaving": true, "timeZone": "Central Standard Time" }, "preferredTimeReference": { "timeZoneIANA": "America/Chicago", "respectsDaylightSaving": true, "timeZone": "Central Standard Time" }, "useStandardizedQueries": true, "sourceSpatialReference": { "falseM": 0, "xyTolerance": 0.0032808333333333331, "mUnits": 1, "zUnits": 10000, "latestWkid": 8213, "zTolerance": 0.001, "wkid": 103404, "xyUnits": 3048.00609601219276, "mTolerance": 0.001, "falseX": -18345200, "falseY": -48426700, "falseZ": -100000 }, "description": "", "canModifyLayer": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCountNoGeometry": 32000, "indexes": [ { "name": "R405_pk", "isUnique": true, "description": "", "fields": "OBJECTID", "isAscending": true }, { "name": "S373_idx", "isUnique": true, "description": "", "fields": "Shape", "isAscending": true } ], "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "supportsDatumTransformation": true, "minScale": 0, "supportsDynamicLegends": true, "hasAttachments": false, "advancedQueryCapabilities": { "supportsSqlExpression": true, "supportsQueryWithResultType": true, "supportsQueryRelatedPagination": true, "supportsSqlFormat": false, "useStandardizedQueries": true, "supportsResultPaginationToken": false, "supportsQueryWithCacheHint": false, "supportsQueryWithDatumTransformation": true, "supportsCurrentUserQueries": true, "supportsQueryWithLodSR": false, "supportsPagination": true, "supportsMaxRecordCountFactor": false, "supportsStatistics": true, "supportsTrueCurve": true, "supportsOrderBy": true, "supportsLod": false, "supportsQueryWithDistance": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsReturningQueryExtent": true, "supportsDistinct": true, "supportsTimeRelation": true, "supportsQueryAnalytic": true, "supportsPercentileStatistics": true, "supportsHavingClause": true }, "subtypeField": null, "supportsCoordinatesQuantization": true, "capabilities": "Map,Query,Data", "maxScale": 0, "supportsExceedsLimitStatistics": true, "defaultVisibility": true, "advancedQueryAnalyticCapabilities": { "supportsAsync": false, "supportsLinearRegression": true, "supportsPercentileAnalytic": true }, "hasMetadata": true, "tileMaxRecordCount": 8000, "typeIdField": null, "defaultSubtypeCode": null, "supportedQueryFormats": "JSON, geoJSON, PBF", "hasLabels": true, "drawingInfo": { "renderer": { "uniqueValueGroups": [{ "heading": "Flood status derived", "classes": [ { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 85, 255, 0, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "values": [["BELOW_ACTION"]], "description": "Below Action State", "label": "Below Action State" }, { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 255, 255, 0, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "values": [["ACTION"]], "description": "Action State", "label": "Action State" }, { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 230, 152, 0, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "values": [["MINOR"]], "description": "Minor Flooding", "label": "Minor Flooding" }, { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 230, 0, 0, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "values": [["MODERATE"]], "description": "Moderate Flooding", "label": "Moderate Flooding" }, { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 168, 0, 0, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "values": [["MAJOR"]], "description": "Major Flooding", "label": "Major Flooding" }, { "symbol": { "imageData": "iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABAklEQVQ4ja2Uuw3CMBCGvyI7IFIyAI1T0SPRsAG1M0AGiNIiZYCkYwUoqWigcsMKSEhsgQ5sMBDIi1+yY/nkT5d7BfxRQY09BJRdG8B0gc0nkI5ADYAjsIXU2gyQWXgtrFiAXnoX+R3mpIA1UALxL1ixAj2lkbT9xlWw+aI5yAeWLpYPmMTI/7UWKoDIh4US7G4slM362cFuWesh9QIb94MNZXOwzeVZR11kfJiRwuyrwB12d3qXJJiP0jhBlsM6aQ/LPjyTuOVQTkG3SEbp9+h7O8UzIAGdNANl/kVVo8fi4QEKKWTx8vJqbzU1bg/2EO2f80zqyM2yrzOtbjie7WqkK9yqN4QQisSWAAAAAElFTkSuQmCC", "yoffset": 0, "width": 14, "xoffset": 0, "angle": 0, "type": "esriPMS", "contentType": "image/png", "url": "f337a4752e105bc08acc4cd9c6191e3e", "height": 14 }, "values": [["RECORD"]], "description": "Record Flooding", "label": "Record Flooding" }, { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 115, 178, 255, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "values": [["UNKNOWN"]], "description": "Flood Category Not Available", "label": "Flood Category Not Available" } ] }], "field1": "FloodStatus", "authoringInfo": {"colorRamp": { "colorRamps": [ { "toColor": [ 212, 220, 252, 255 ], "fromColor": [ 212, 220, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 182, 252, 185, 255 ], "fromColor": [ 182, 252, 185, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 195, 179, 255 ], "fromColor": [ 252, 195, 179, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 182, 231, 255 ], "fromColor": [ 252, 182, 231, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 243, 182, 255 ], "fromColor": [ 252, 243, 182, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 179, 252, 246, 255 ], "fromColor": [ 179, 252, 246, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 199, 179, 252, 255 ], "fromColor": [ 199, 179, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 215, 232, 255 ], "fromColor": [ 252, 215, 232, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 224, 252, 207, 255 ], "fromColor": [ 224, 252, 207, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 252, 232, 204, 255 ], "fromColor": [ 252, 232, 204, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 237, 199, 252, 255 ], "fromColor": [ 237, 199, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 184, 197, 252, 255 ], "fromColor": [ 184, 197, 252, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" }, { "toColor": [ 184, 252, 214, 255 ], "fromColor": [ 184, 252, 214, 255 ], "type": "algorithmic", "algorithm": "esriCIELabAlgorithm" } ], "type": "multipart" }}, "defaultSymbol": { "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAYAAAAmL5yKAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAi0lEQVQokaWS2w2AIAxF7wdL6Bo4Bq7BGrKGrsEc7GRqiiGklYcnIZAAp6XF4CemsW95TrOCwJJ1RmABOF57ANeo4KwyGRL44v3EwpLQI7DSQQAHgFgX1CjRKaIEifcvgWWBhuMzSRMEtKHibpLAF237Imf5dKUW9PK2NQtyYdQvK0B3YhZQe2gMcwNJgBT/QLEQ4gAAAABJRU5ErkJggg==", "yoffset": 0, "width": 12, "xoffset": 0, "angle": 0, "type": "esriPMS", "contentType": "image/png", "url": "4f282326d24012c7801a376f8218f700", "height": 10 }, "defaultLabel": "Unknown", "uniqueValueInfos": [ { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 85, 255, 0, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "label": "Below Action State", "value": "BELOW_ACTION" }, { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 255, 255, 0, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "label": "Action State", "value": "ACTION" }, { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 230, 152, 0, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "label": "Minor Flooding", "value": "MINOR" }, { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 230, 0, 0, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "label": "Moderate Flooding", "value": "MODERATE" }, { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 168, 0, 0, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "label": "Major Flooding", "value": "MAJOR" }, { "symbol": { "imageData": "iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABAklEQVQ4ja2Uuw3CMBCGvyI7IFIyAI1T0SPRsAG1M0AGiNIiZYCkYwUoqWigcsMKSEhsgQ5sMBDIi1+yY/nkT5d7BfxRQY09BJRdG8B0gc0nkI5ADYAjsIXU2gyQWXgtrFiAXnoX+R3mpIA1UALxL1ixAj2lkbT9xlWw+aI5yAeWLpYPmMTI/7UWKoDIh4US7G4slM362cFuWesh9QIb94MNZXOwzeVZR11kfJiRwuyrwB12d3qXJJiP0jhBlsM6aQ/LPjyTuOVQTkG3SEbp9+h7O8UzIAGdNANl/kVVo8fi4QEKKWTx8vJqbzU1bg/2EO2f80zqyM2yrzOtbjie7WqkK9yqN4QQisSWAAAAAElFTkSuQmCC", "yoffset": 0, "width": 14, "xoffset": 0, "angle": 0, "type": "esriPMS", "contentType": "image/png", "url": "f337a4752e105bc08acc4cd9c6191e3e", "height": 14 }, "label": "Record Flooding", "value": "RECORD" }, { "symbol": { "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.59999999999999998 }, "color": [ 115, 178, 255, 255 ], "size": 10, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "label": "Flood Category Not Available", "value": "UNKNOWN" } ], "type": "uniqueValue", "fieldDelimiter": "," }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "symbol": { "backgroundColor": null, "kerning": true, "color": [ 0, 0, 0, 255 ], "yoffset": 0, "xoffset": 0, "haloColor": [ 255, 255, 255, 255 ], "type": "esriTS", "borderLineColor": null, "borderLineSize": null, "horizontalAlignment": "left", "haloSize": 2, "angle": 0, "rightToLeft": false, "verticalAlignment": "bottom", "font": { "size": 10, "weight": "normal", "style": "normal", "family": "Tahoma", "decoration": "none" } }, "stackLabel": true, "stackRowLength": 24, "maxScale": 0, "labelExpressionInfo": { "expression": "// ------------------------------------------------------------\n// Brown County Water Gauges - Map Label\n// ------------------------------------------------------------\n\n\n// Station/location name - secondary information\nvar name = \"\";\n\nif (!IsEmpty($feature.DisplayName)) {\n name =\n \"\" +\n $feature.DisplayName +\n \"<\/FNT>\";\n}\n\n\n// ------------------------------------------------------------\n// Measurement\n// Prefer water-surface elevation when available.\n// Otherwise use gage height.\n// ------------------------------------------------------------\n\nvar measurement = \"\";\n\nif (!IsEmpty($feature.WaterElevFt)) {\n\n measurement =\n Text($feature.WaterElevFt, \"#,##0.00\") +\n \" ft\";\n\n // Datum is technical reference information\n if (!IsEmpty($feature.VerticalDatum)) {\n\n measurement +=\n \" \" +\n \"\" +\n $feature.VerticalDatum +\n \"<\/CLR>\" +\n \"<\/FNT>\";\n }\n\n}\nelse if (!IsEmpty($feature.StageFt)) {\n\n measurement =\n \"Stage \" +\n Text($feature.StageFt, \"#,##0.00\") +\n \" ft\";\n}\n\n\n// ------------------------------------------------------------\n// Flood status\n// UNKNOWN is intentionally smaller because it is supporting\n// information rather than an active flood condition.\n// ------------------------------------------------------------\n\nvar floodStatus = \"\";\n\nif (!IsEmpty($feature.FloodStatus)) {\n\n var status = $feature.FloodStatus;\n\n if (status == \"BELOW_ACTION\") {\n floodStatus = \"Below Action Stage\";\n }\n else if (status == \"ACTION\") {\n floodStatus = \"Action Stage\";\n }\n else if (status == \"MINOR\") {\n floodStatus = \"Minor Flooding\";\n }\n else if (status == \"MODERATE\") {\n floodStatus = \"Moderate Flooding\";\n }\n else if (status == \"MAJOR\") {\n floodStatus = \"Major Flooding\";\n }\n else if (status == \"RECORD\") {\n floodStatus = \"Record Flooding\";\n }\n else if (status == \"UNKNOWN\") {\n floodStatus =\n \"\" +\n \"Flood Category Not Available\" +\n \"<\/FNT>\";\n }\n}\n\n\n// ------------------------------------------------------------\n// Observation date/time\n// Seconds intentionally omitted.\n// ------------------------------------------------------------\n\nvar obsTime = \"\";\n\nif (!IsEmpty($feature.ObsDateTime)) {\n\n obsTime =\n Text(\n $feature.ObsDateTime,\n \"M/D/YYYY h:mm A\"\n );\n}\n\n\n// ------------------------------------------------------------\n// Assemble final label\n// ------------------------------------------------------------\n\nvar label = name;\n\nif (measurement != \"\") {\n label +=\n TextFormatting.NewLine +\n measurement;\n}\n\nif (floodStatus != \"\") {\n label +=\n TextFormatting.NewLine +\n floodStatus;\n}\n\nif (obsTime != \"\") {\n label +=\n TextFormatting.NewLine +\n obsTime;\n}\n\nreturn label;", "title": "Custom" }, "deconflictionStrategy": "dynamic", "priority": -1, "labelPlacement": "esriServerPointLabelPlacementAboveRight", "removeDuplicates": "none", "name": "ZoomedIn", "minScale": 50000, "stackAlignment": "dynamic", "useCodedValues": true }, { "removeDuplicates": "none", "symbol": { "backgroundColor": null, "kerning": true, "color": [ 0, 0, 0, 255 ], "yoffset": 0, "xoffset": 0, "haloColor": [ 255, 255, 255, 255 ], "type": "esriTS", "borderLineColor": null, "borderLineSize": null, "horizontalAlignment": "left", "haloSize": 1, "angle": 0, "rightToLeft": false, "verticalAlignment": "bottom", "font": { "size": 8, "weight": "normal", "style": "normal", "family": "Tahoma", "decoration": "none" } }, "stackLabel": false, "maxScale": 50001, "name": "ZoomedOut", "minScale": 0, "labelExpressionInfo": { "expression": "// ------------------------------------------------------------\n// Water Gauges - County Scale Label\n//\n// Line 1: Flood status\n// Line 2: Observation DATE only\n//\n// UNKNOWN flood category is intentionally omitted.\n// ------------------------------------------------------------\n\nvar floodStatus = \"\";\n\nif (!IsEmpty($feature.FloodStatus)) {\n\n var status = $feature.FloodStatus;\n\n if (status == \"BELOW_ACTION\") {\n floodStatus = \"Below Action Stage\";\n }\n else if (status == \"ACTION\") {\n floodStatus = \"Action Stage\";\n }\n else if (status == \"MINOR\") {\n floodStatus = \"Minor Flooding\";\n }\n else if (status == \"MODERATE\") {\n floodStatus = \"Moderate Flooding\";\n }\n else if (status == \"MAJOR\") {\n floodStatus = \"Major Flooding\";\n }\n else if (status == \"RECORD\") {\n floodStatus = \"Record Flooding\";\n }\n\n // UNKNOWN intentionally remains blank\n}\n\n\n// Observation date only\nvar obsDate = \"\";\n\nif (!IsEmpty($feature.ObsDateTime)) {\n obsDate = Text(\n $feature.ObsDateTime,\n \"M/D/YYYY\"\n );\n}\n\n\n// Build compact county-scale label\nif (floodStatus != \"\" && obsDate != \"\") {\n return floodStatus +\n TextFormatting.NewLine +\n obsDate;\n}\n\nif (floodStatus != \"\") {\n return floodStatus;\n}\n\nif (obsDate != \"\") {\n return obsDate;\n}\n\nreturn \"\";", "title": "Custom" }, "deconflictionStrategy": "dynamic", "priority": -1, "labelPlacement": "esriServerPointLabelPlacementAboveRight", "useCodedValues": true } ] }, "geometryField": { "name": "Shape", "alias": "Shape", "type": "esriFieldTypeGeometry" }, "copyrightText": "", "geometryType": "esriGeometryPoint" }] }