{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 8, "name": "SurfaceWaterBody_poly_2022", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": { "id": 6, "name": "P2 - Diffuse Sources - All" }, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "if (($feature.swEcologicalStatusOrPotentialValue == '1' || $feature.swEcologicalStatusOrPotentialValue == '2') &&\n$feature.swChemicalStatusValue == '2') {\n return 'notFailing'\n}\nelse if ($feature.swEcologicalStatusOrPotentialValue == 'Unknown' ||$feature.swChemicalStatusValue == 'Unknown' ) {\n return 'Unknown'\n}\nelse if ($feature.swEcologicalStatusOrPotentialValue == '3' || \n $feature.swEcologicalStatusOrPotentialValue == '4' || $feature.swEcologicalStatusOrPotentialValue == '5' ||\n\n$feature.swChemicalStatusValue == '3') {\n if (Find('P2',$feature.swSignificantPressureType)!= -1){\n return 'failing'\n }\n else {\n return 'failingForOtherPressure'\n}\n\n}\n\nelse {\n return null\n}", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "Custom", "classes": [ { "label": "Unknown", "description": "Unknown", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 0 ], "width": 0.7 } }, "values": [ [ "Unknown" ] ] }, { "label": "Failing due to pressure P1 - Point sources", "description": "Failing due to pressure P1 - Point sources", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 230, 61, 92, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 0 ], "width": 0.7 } }, "values": [ [ "failing" ] ] }, { "label": "Failing due to other pressure(s)", "description": "Failing due to other pressure(s)", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 242, 154, 132, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 0 ], "width": 0.7 } }, "values": [ [ "failingForOtherPressure" ] ] }, { "label": "Good", "description": "Good", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 88, 147, 169, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 0 ], "width": 0.7 } }, "values": [ [ "notFailing" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 0 ], "width": 0.7 } }, "value": "Unknown", "label": "Unknown" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 230, 61, 92, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 0 ], "width": 0.7 } }, "value": "failing", "label": "Failing due to pressure P1 - Point sources" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 242, 154, 132, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 0 ], "width": 0.7 } }, "value": "failingForOtherPressure", "label": "Failing due to other pressure(s)" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 88, 147, 169, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 0 ], "width": 0.7 } }, "value": "notFailing", "label": "Good" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 192, 252, 209, 255 ], "toColor": [ 192, 252, 209, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 184, 249, 255 ], "toColor": [ 252, 184, 249, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 201, 182, 255 ], "toColor": [ 252, 201, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 224, 252, 255 ], "toColor": [ 187, 224, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 250, 179, 255 ], "toColor": [ 252, 250, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 185, 182, 252, 255 ], "toColor": [ 185, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 210, 234, 255 ], "toColor": [ 252, 210, 234, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 242, 215, 255 ], "toColor": [ 252, 242, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 252, 246, 255 ], "toColor": [ 215, 252, 246, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 192, 255 ], "toColor": [ 252, 182, 192, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 225, 212, 252, 255 ], "toColor": [ 225, 212, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 252, 179, 255 ], "toColor": [ 189, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 224, 192, 252, 255 ], "toColor": [ 224, 192, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -7032173.234300001, "ymin": -2440400.401799999, "xmax": 6217694.9221, "ymax": 1.15351398389E7, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "surfaceWaterBodyName", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null }, { "name": "cYear", "type": "esriFieldTypeString", "alias": "cYear", "length": 2048, "domain": null }, { "name": "countryCode", "type": "esriFieldTypeString", "alias": "countryCode", "length": 2048, "domain": null }, { "name": "euRBDCode", "type": "esriFieldTypeString", "alias": "euRBDCode", "length": 2048, "domain": null }, { "name": "euSubUnitCode", "type": "esriFieldTypeString", "alias": "euSubUnitCode", "length": 2048, "domain": null }, { "name": "euSurfaceWaterBodyCode", "type": "esriFieldTypeString", "alias": "euSurfaceWaterBodyCode", "length": 2048, "domain": null }, { "name": "surfaceWaterBodyName", "type": "esriFieldTypeString", "alias": "surfaceWaterBodyName", "length": 2048, "domain": null }, { "name": "cArea", "type": "esriFieldTypeString", "alias": "cArea", "length": 2048, "domain": null }, { "name": "cLength", "type": "esriFieldTypeString", "alias": "cLength", "length": 2048, "domain": null }, { "name": "hasDescriptiveData", "type": "esriFieldTypeString", "alias": "hasDescriptiveData", "length": 2048, "domain": null }, { "name": "fileUrl", "type": "esriFieldTypeString", "alias": "fileUrl", "length": 2048, "domain": null }, { "name": "surfaceWaterBodyCategory", "type": "esriFieldTypeString", "alias": "surfaceWaterBodyCategory", "length": 2048, "domain": null }, { "name": "naturalAWBHMWB", "type": "esriFieldTypeString", "alias": "naturalAWBHMWB", "length": 2048, "domain": null }, { "name": "reservoir", "type": "esriFieldTypeString", "alias": "reservoir", "length": 2048, "domain": null }, { "name": "surfaceWaterBodyTypeCode", "type": "esriFieldTypeString", "alias": "surfaceWaterBodyTypeCode", "length": 2048, "domain": null }, { "name": "surfaceWaterBodyTransboundary", "type": "esriFieldTypeString", "alias": "surfaceWaterBodyTransboundary", "length": 2048, "domain": null }, { "name": "NCSWaterBodyType", "type": "esriFieldTypeString", "alias": "NCSWaterBodyType", "length": 2048, "domain": null }, { "name": "swEcologicalStatusOrPotentialValue", "type": "esriFieldTypeString", "alias": "swEcologicalStatusOrPotentialValue", "length": 2048, "domain": null }, { "name": "swEcologicalAssessmentYear", "type": "esriFieldTypeString", "alias": "swEcologicalAssessmentYear", "length": 2048, "domain": null }, { "name": "swEcologicalAssessmentConfidence", "type": "esriFieldTypeString", "alias": "swEcologicalAssessmentConfidence", "length": 2048, "domain": null }, { "name": "swEcologicalStatusOrPotentialExpectedAchievementDate", "type": "esriFieldTypeString", "alias": "swEcologicalStatusOrPotentialExpectedAchievementDate", "length": 2048, "domain": null }, { "name": "swChemicalStatusValue", "type": "esriFieldTypeString", "alias": "swChemicalStatusValue", "length": 2048, "domain": null }, { "name": "swChemicalAssessmentYear", "type": "esriFieldTypeString", "alias": "swChemicalAssessmentYear", "length": 2048, "domain": null }, { "name": "swChemicalAssessmentConfidence", "type": "esriFieldTypeString", "alias": "swChemicalAssessmentConfidence", "length": 2048, "domain": null }, { "name": "swChemicalMonitoringResults", "type": "esriFieldTypeString", "alias": "swChemicalMonitoringResults", "length": 2048, "domain": null }, { "name": "swChemicalStatusExpectedAchievementDate", "type": "esriFieldTypeString", "alias": "swChemicalStatusExpectedAchievementDate", "length": 2048, "domain": null }, { "name": "swChemicalStatusValueWithoutUPBT", "type": "esriFieldTypeString", "alias": "swChemicalStatusValueWithoutUPBT", "length": 2048, "domain": null }, { "name": "swSignificantPressureType", "type": "esriFieldTypeString", "alias": "swSignificantPressureType", "length": 2048, "domain": null }, { "name": "SHAPE_Length", "type": "esriFieldTypeDouble", "alias": "SHAPE_Length", "domain": null }, { "name": "SHAPE_Area", "type": "esriFieldTypeDouble", "alias": "SHAPE_Area", "domain": null } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": [ { "name": "FDO_OBJECTID", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "FDO_SHAPE", "fields": "SHAPE", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": false, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "SHAPE_Area", "shapeLengthFieldName": "SHAPE_Length", "units": "esriMeters", "mapUnits": {"uwkid": 9001} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true }