{ "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 11, "name": "SP_association_Ward_clinics", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 4326, "latestWkid": 4326, "xyTolerance": 8.983152841195215E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 1.111948722222222E9, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var field1 = $feature['CRSPDNC_IO'];\nvar field2 = $feature['CRSPDNC_OI'];\nvar hasNormField1 = false;\nvar hasNormField2 = false;\nvar normField1 = null;\nvar normField2 = null;\nif (\n IsEmpty(field1) || \n IsEmpty(field2) ||\n (hasNormField1 && (IsEmpty(normField1) || normField1 == 0)) ||\n (hasNormField2 && (IsEmpty(normField2) || normField2 == 0))\n) {\n return null; \n}\nvar value1 = IIf(hasNormField1, (field1 / normField1), field1);\nvar value2 = IIf(hasNormField2, (field2 / normField2), field2);\nvar breaks1 = [[0,0.348401],[0.348401,0.523867],[0.523867,0.63331]];\nvar breaks2 = [[0,0.320447],[0.320447,0.434568],[0.434568,0.581575]];\nvar classCodes = [\"L\", \"M\", \"H\"];\nfunction getClassCode(value, breaks) {\n var code = null;\n for (var i in breaks) {\n var info = breaks[i];\n if (value >= info[0] && value <= info[1]) {\n code = classCodes[i];\n break;\n }\n }\n return code;\n}\nvar code1 = getClassCode(value1, breaks1);\nvar code2 = getClassCode(value2, breaks2);\nvar classValue = IIf(IsEmpty(code1) || IsEmpty(code2), null, code1 + code2);\nreturn classValue;", "valueExpressionTitle": "Relationship", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 42, 26, 138, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 102 ], "width": 0.7 } }, "value": "HH", "label": "Both Low" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 132, 53, 152, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 102 ], "width": 0.7 } }, "value": "HM", "label": "Low - Medium" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 222, 79, 166, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 102 ], "width": 0.7 } }, "value": "HL", "label": "Low - High" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 61, 100, 173, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 102 ], "width": 0.7 } }, "value": "MH", "label": "Medium - Low" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 144, 128, 189, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 102 ], "width": 0.7 } }, "value": "MM", "label": "Medium - Medium" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 227, 155, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 102 ], "width": 0.7 } }, "value": "ML", "label": "Medium - High" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 79, 173, 208, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 102 ], "width": 0.7 } }, "value": "LH", "label": "High - Low" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 156, 202, 225, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 102 ], "width": 0.7 } }, "value": "LM", "label": "High - Medium" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 233, 230, 242, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 102 ], "width": 0.7 } }, "value": "LL", "label": "Both High" } ], "fieldDelimiter": ",", "authoringInfo": { "field1": { "field": "CRSPDNC_IO", "label": "Correspondence of WardNo within Clinicname", "classBreakInfos": [ { "minValue": 0, "maxValue": 0.348401 }, { "minValue": 0.348401, "maxValue": 0.523867 }, { "minValue": 0.523867, "maxValue": 0.63331 } ] }, "field2": { "field": "CRSPDNC_OI", "label": "Correspondence of Clinicname within WardNo", "classBreakInfos": [ { "minValue": 0, "maxValue": 0.320447 }, { "minValue": 0.320447, "maxValue": 0.434568 }, { "minValue": 0.434568, "maxValue": 0.581575 } ] }, "classificationMethod": "esriClassifyManual", "type": "relationship", "focus": "HH", "numClasses": 3 } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": false, "extent": { "xmin": 3129813.1623614165, "ymin": -2804032.930066511, "xmax": 3254335.144895145, "ymax": -2672085.96446468, "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": "SOURCE_ID", "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": "SOURCE_ID", "type": "esriFieldTypeInteger", "alias": "SOURCE_ID", "domain": null }, { "name": "CAT_IN", "type": "esriFieldTypeInteger", "alias": "WardNo", "domain": null }, { "name": "CAT_OVL", "type": "esriFieldTypeString", "alias": "Clinicname", "length": 254, "domain": null }, { "name": "CRSPDNC_IO", "type": "esriFieldTypeDouble", "alias": "Correspondence of WardNo within Clinicname", "domain": null }, { "name": "CRSPDNC_OI", "type": "esriFieldTypeDouble", "alias": "Correspondence of Clinicname within WardNo", "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": "Query,Map,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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": false }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "Shape_Area", "shapeLengthFieldName": "Shape_Length", "units": "esriDecimalDegrees" }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": false, "serviceItemId": "87205704af924706995aeddc45a90db9" }