{ "currentVersion": 11.5, "cimVersion": "3.5.0", "id": 17, "name": "Bathing water control zones", "type": "Feature Layer", "description": "Discharge control zones around designated bathing waters at distances of 100m and 1500m, both within the sea and along water courses flowing into the beach or surrounding zone. Watercourses flowing directly into the designated beach area are traced for 100m and 1500m upstream and then buffered by 10m on each bank. Note, the outer zone for Ayr (South Beach) extends to 2500m along water courses flowing into the beach or surrounding zone. ", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 27700, "latestWkid": 27700, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5220400, "falseY": -15524400, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "spatialReference": { "wkid": 27700, "latestWkid": 27700, "xyTolerance": 0.001, "zTolerance": 2, "mTolerance": 2, "falseX": -5220400, "falseY": -15524400, "xyUnits": 4.5048159276709664E8, "falseZ": 0, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "© Scottish Environment Protection Agency. Contains OS data © Crown copyright and database right [year].", "parentLayer": { "id": 0, "name": "Bathing Waters" }, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "field1": "zone", "uniqueValueGroups": [ { "heading": "Zone Type", "classes": [ { "label": "Inner Zone", "description": "Inner Zone", "symbol": { "type": "esriSFS", "style": "esriSFSDiagonalCross", "color": [ 255, 0, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 2 } }, "values": [ [ "Inner Zone" ] ] }, { "label": "Outer Zone", "description": "Outer Zone", "symbol": { "type": "esriSFS", "style": "esriSFSDiagonalCross", "color": [ 0, 0, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 2 } }, "values": [ [ "Outer Zone" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSDiagonalCross", "color": [ 255, 0, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 2 } }, "value": "Inner Zone", "label": "Inner Zone" }, { "symbol": { "type": "esriSFS", "style": "esriSFSDiagonalCross", "color": [ 0, 0, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 2 } }, "value": "Outer Zone", "label": "Outer Zone" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 183, 255 ], "toColor": [ 252, 182, 183, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 183, 252, 179, 255 ], "toColor": [ 183, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 198, 252, 255 ], "toColor": [ 182, 198, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 252, 251, 255 ], "toColor": [ 182, 252, 251, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 240, 197, 255 ], "toColor": [ 252, 240, 197, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 252, 255 ], "toColor": [ 252, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 249, 215, 252, 255 ], "toColor": [ 249, 215, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 225, 252, 255 ], "toColor": [ 187, 225, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 252, 218, 255 ], "toColor": [ 215, 252, 218, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 229, 252, 179, 255 ], "toColor": [ 229, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 207, 179, 252, 255 ], "toColor": [ 207, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 214, 199, 255 ], "toColor": [ 252, 214, 199, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 222, 255 ], "toColor": [ 252, 179, 222, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": false, "extent": { "xmin": 162410.90629999992, "ymin": 543505.7607000005, "xmax": 414147.8936999999, "ymax": 972091.0691999998, "zmin": 0, "zmax": 0, "mmin": -9.999E35, "mmax": -9.999E35, "spatialReference": { "wkid": 27700, "latestWkid": 27700, "xyTolerance": 0.001, "zTolerance": 2, "mTolerance": 2, "falseX": -5220400, "falseY": -15524400, "xyUnits": 4.5048159276709664E8, "falseZ": 0, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "BW_ID", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "st_area(shape)", "type": "esriFieldTypeDouble", "alias": "st_area(shape)", "domain": null }, { "name": "st_perimeter(shape)", "type": "esriFieldTypeDouble", "alias": "st_perimeter(shape)", "domain": null }, { "name": "objectid", "type": "esriFieldTypeOID", "alias": "objectid", "domain": null }, { "name": "bw_id", "type": "esriFieldTypeString", "alias": "Bathing Water ID", "length": 50, "domain": null }, { "name": "bufferdistance", "type": "esriFieldTypeInteger", "alias": "Buffer Distance (m)", "domain": null }, { "name": "zone", "type": "esriFieldTypeString", "alias": "Zone Type", "length": 50, "domain": null }, { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape", "domain": null } ], "geometryField": { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape" }, "indexes": [ { "name": "r21_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a8_ix1", "fields": "shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "maxSelectionCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "hasM": 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": true, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": false }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "st_area(shape)", "shapeLengthFieldName": "st_perimeter(shape)", "units": "esriMeters", "mapUnits": {"uwkid": 9001} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "f0b7af8d29e5435da857c86c2e34e191" }