{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 1, "name": "Population Exposed", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 32758, "latestWkid": 32758, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5120900, "falseY": 1900, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 18982.064091338536, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var field1 = $feature['Inundation'];\nvar field2 = $feature['population'];\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],[.000000999999999999999954748112,1.57967662811279296875],[1.57967762811279288648336,8.93752288818359375]];\nvar breaks2 = [[0,5.47278878052000017362388],[5.47278978052000031340185,9.5038882298599993703192],[9.50388922985999862191875,371.50123896899998499066]];\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", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "High - High", "description": "High - High", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 92, 71, 61, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "HH" ] ] }, { "label": "High - Medium", "description": "High - Medium", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 66, 122, 142, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "HM" ] ] }, { "label": "High - Low", "description": "High - Low", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 0, 175, 231, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "HL" ] ] }, { "label": "Medium - High", "description": "Medium - High", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 170, 95, 55, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "MH" ] ] }, { "label": "Medium - Medium", "description": "Medium - Medium", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 175, 151, 139, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "MM" ] ] }, { "label": "Medium - Low", "description": "Medium - Low", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 152, 207, 229, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "ML" ] ] }, { "label": "Low - High", "description": "Low - High", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 249, 117, 41, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "LH" ] ] }, { "label": "Low - Medium", "description": "Low - Medium", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 255, 178, 134, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "LM" ] ] }, { "label": "Low - Low", "description": "Low - Low", "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 255, 239, 226, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "LL" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 92, 71, 61, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "HH", "label": "High - High" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 66, 122, 142, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "HM", "label": "High - Medium" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 0, 175, 231, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "HL", "label": "High - Low" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 170, 95, 55, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "MH", "label": "Medium - High" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 175, 151, 139, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "MM", "label": "Medium - Medium" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 152, 207, 229, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "ML", "label": "Medium - Low" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 249, 117, 41, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "LH", "label": "Low - High" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 255, 178, 134, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "LM", "label": "Low - Medium" }, { "symbol": { "type": "esriSMS", "style": "esriSMSSquare", "color": [ 255, 239, 226, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "LL", "label": "Low - Low" } ], "fieldDelimiter": ",", "authoringInfo": { "field1": { "field": "Inundation", "label": "Inundation", "classBreakInfos": [ { "minValue": 0, "maxValue": 0 }, { "minValue": 0, "maxValue": 1.579676628112793 }, { "minValue": 1.579676628112793, "maxValue": 8.937522888183594 } ] }, "field2": { "field": "population", "label": "population", "classBreakInfos": [ { "minValue": 0, "maxValue": 5.47278878052 }, { "minValue": 5.47278878052, "maxValue": 9.50388822986 }, { "minValue": 9.50388822986, "maxValue": 371.501238969 } ] }, "classificationMethod": "esriClassifyQuantile", "type": "relationship", "focus": "HH", "numClasses": 3 } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 666455.3349000001, "ymin": 7753513.6206, "xmax": 1049468.2434999999, "ymax": 8549654.9568, "spatialReference": { "wkid": 32758, "latestWkid": 32758, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5120900, "falseY": 1900, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "Distance", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "Inundation", "type": "esriFieldTypeSingle", "alias": "Inundation", "domain": null }, { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "Distance", "type": "esriFieldTypeDouble", "alias": "Distance", "domain": null }, { "name": "latitude", "type": "esriFieldTypeDouble", "alias": "latitude", "domain": null }, { "name": "longitude", "type": "esriFieldTypeDouble", "alias": "longitude", "domain": null }, { "name": "population", "type": "esriFieldTypeDouble", "alias": "population", "domain": null }, { "name": "ADM2_EN", "type": "esriFieldTypeString", "alias": "ADM2_EN", "length": 50, "domain": null }, { "name": "ADM2_PCODE", "type": "esriFieldTypeString", "alias": "ADM2_PCODE", "length": 50, "domain": null }, { "name": "ADM1_EN", "type": "esriFieldTypeString", "alias": "ADM1_EN", "length": 50, "domain": null }, { "name": "ADM1_PCODE", "type": "esriFieldTypeString", "alias": "ADM1_PCODE", "length": 50, "domain": null }, { "name": "ADM0_EN", "type": "esriFieldTypeString", "alias": "ADM0_EN", "length": 50, "domain": null }, { "name": "ADM0_PCODE", "type": "esriFieldTypeString", "alias": "ADM0_PCODE", "length": 50, "domain": null }, { "name": "Damage_Ratio", "type": "esriFieldTypeDouble", "alias": "Damage_Ratio", "domain": null }, { "name": "Risk", "type": "esriFieldTypeDouble", "alias": "Risk", "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, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": false, "serviceItemId": "7ee750fcec334863b588abff05598124" }