{ "layers": [ { "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 0, "name": "admin level 2", "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.1119487222222219E9, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var field1 = $feature['arcgis.sde.lhasa_exposure.m_haz_f'];\nvar field2 = $feature['arcgis.sde.lhasa_exposure.m_haz_pp_f'];\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,.0100000000000000002081668],[.0100000000000000002081668,.100000000000000005551115],[.100000000000000005551115,.25],[.25,1]];\nvar breaks2 = [[0,.0100000000000000002081668],[.0100000000000000002081668,.100000000000000005551115],[.100000000000000005551115,.25],[.25,1]];\nvar classCodes = [\"L\", \"M1\", \"M2\", \"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": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "HH", "label": "High" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 102, 44, 147, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "HM2", "label": "High - Medium" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 162, 61, 157, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "HM1", "label": "High - Mild" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 222, 79, 166, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "HL", "label": "Low" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 54, 75, 161, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "M2H", "label": "Medium - High" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 111, 93, 171, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "M2M2", "label": "Medium - Medium" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 168, 111, 181, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "M2M1", "label": "Medium - Mild" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 225, 129, 191, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "M2L", "label": "Medium - Low" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 67, 124, 185, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "M1H", "label": "Mild - High" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 121, 143, 196, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "M1M2", "label": "Mild - Medium" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 175, 161, 206, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "M1M1", "label": "Mild - Mild" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 229, 180, 217, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "M1L", "label": "Mild - Low" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 79, 173, 208, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "LH", "label": "High" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 130, 192, 219, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "LM2", "label": "Low - Medium" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 181, 211, 231, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "LM1", "label": "Low - Mild" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 232, 230, 242, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 130, 130, 130, 255 ], "width": 0 } }, "value": "LL", "label": "Low" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 222, 80, 167, 255 ], "toColor": [ 222, 80, 167, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 163, 62, 158, 255 ], "toColor": [ 163, 62, 158, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 103, 44, 148, 255 ], "toColor": [ 103, 44, 148, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 43, 26, 138, 255 ], "toColor": [ 43, 26, 138, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 224, 128, 191, 255 ], "toColor": [ 224, 128, 191, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 168, 110, 181, 255 ], "toColor": [ 168, 110, 181, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 111, 92, 171, 255 ], "toColor": [ 111, 92, 171, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 55, 76, 161, 255 ], "toColor": [ 55, 76, 161, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 230, 181, 217, 255 ], "toColor": [ 230, 181, 217, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 175, 161, 207, 255 ], "toColor": [ 175, 161, 207, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 122, 144, 196, 255 ], "toColor": [ 122, 144, 196, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 67, 125, 186, 255 ], "toColor": [ 67, 125, 186, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 232, 230, 242, 255 ], "toColor": [ 232, 230, 242, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 181, 212, 232, 255 ], "toColor": [ 181, 212, 232, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 129, 192, 219, 255 ], "toColor": [ 129, 192, 219, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 79, 175, 209, 255 ], "toColor": [ 79, 175, 209, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -179.9999999999, "ymin": -55.98402786009757, "xmax": 180.00000000010016, "ymax": 83.65833282509993, "spatialReference": { "wkid": 4326, "latestWkid": 4326, "xyTolerance": 8.983152841195215E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 9.999999999999999E8, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "arcgis.sde.lhasa_admin_level_2.country", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "arcgis.sde.lhasa_admin_level_2.objectid", "type": "esriFieldTypeOID", "alias": "objectid", "domain": null }, { "name": "arcgis.sde.lhasa_admin_level_2.country", "type": "esriFieldTypeString", "alias": "country", "length": 80, "domain": null }, { "name": "arcgis.sde.lhasa_admin_level_2.admin_2_id", "type": "esriFieldTypeString", "alias": "admin_2_id", "length": 80, "domain": null }, { "name": "arcgis.sde.lhasa_admin_level_2.admin_2", "type": "esriFieldTypeString", "alias": "admin_2", "length": 80, "domain": null }, { "name": "arcgis.sde.lhasa_admin_level_2.gadm_fid", "type": "esriFieldTypeInteger", "alias": "gadm_fid", "domain": null }, { "name": "arcgis.sde.lhasa_admin_level_2.shape", "type": "esriFieldTypeGeometry", "alias": "shape", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.objectid", "type": "esriFieldTypeInteger", "alias": "objectid", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.gadm_fid", "type": "esriFieldTypeDouble", "alias": "FID", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.country", "type": "esriFieldTypeString", "alias": "country", "length": 8000, "domain": null }, { "name": "arcgis.sde.lhasa_exposure.admin_2", "type": "esriFieldTypeString", "alias": "admin_2", "length": 8000, "domain": null }, { "name": "arcgis.sde.lhasa_exposure.l_haz", "type": "esriFieldTypeDouble", "alias": "l_haz", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.m_haz", "type": "esriFieldTypeDouble", "alias": "m_haz", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.h_haz", "type": "esriFieldTypeDouble", "alias": "h_haz", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.l_haz_pp", "type": "esriFieldTypeDouble", "alias": "l_haz_pp", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.m_haz_pp", "type": "esriFieldTypeDouble", "alias": "m_haz_pp", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.h_haz_pp", "type": "esriFieldTypeDouble", "alias": "h_haz_pp", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.l_haz_rd", "type": "esriFieldTypeDouble", "alias": "l_haz_rd", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.m_haz_rd", "type": "esriFieldTypeDouble", "alias": "m_haz_rd", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.h_haz_rd", "type": "esriFieldTypeDouble", "alias": "h_haz_rd", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.l_haz_f", "type": "esriFieldTypeDouble", "alias": "l_haz_f", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.m_haz_f", "type": "esriFieldTypeDouble", "alias": "m_haz_f", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.h_haz_f", "type": "esriFieldTypeDouble", "alias": "h_haz_f", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.l_haz_pp_f", "type": "esriFieldTypeDouble", "alias": "l_haz_pp_f", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.m_haz_pp_f", "type": "esriFieldTypeDouble", "alias": "m_haz_pp_f", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.h_haz_pp_f", "type": "esriFieldTypeDouble", "alias": "h_haz_pp_f", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.l_haz_rd_f", "type": "esriFieldTypeDouble", "alias": "l_haz_rd_f", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.m_haz_rd_f", "type": "esriFieldTypeDouble", "alias": "m_haz_rd_f", "domain": null }, { "name": "arcgis.sde.lhasa_exposure.h_haz_rd_f", "type": "esriFieldTypeDouble", "alias": "h_haz_rd_f", "domain": null } ], "geometryField": { "name": "arcgis.sde.lhasa_admin_level_2.shape", "type": "esriFieldTypeGeometry", "alias": "shape" }, "indexes": [ { "name": "r795_sde_rowid_uk", "fields": "arcgis.sde.lhasa_admin_level_2.objectid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a565_ix1", "fields": "arcgis.sde.lhasa_admin_level_2.shape", "isAscending": true, "isUnique": true, "description": "" }, { "name": "r794_sde_rowid_uk", "fields": "arcgis.sde.lhasa_exposure.objectid", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Query,Map,Data", "maxRecordCount": 46754, "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": 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_length(shape)", "units": "esriDecimalDegrees" }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "002542dcf384410aa3766de84e54b6eb" } ], "tables": [ { "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 1, "name": "Exposure ", "type": "Table", "description": null, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeNone", "displayField": "gadm_fid", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "objectid", "domain": null }, { "name": "gadm_fid", "type": "esriFieldTypeDouble", "alias": "FID", "domain": null }, { "name": "country", "type": "esriFieldTypeString", "alias": "country", "length": 8000, "domain": null }, { "name": "admin_2", "type": "esriFieldTypeString", "alias": "admin_2", "length": 8000, "domain": null }, { "name": "l_haz", "type": "esriFieldTypeDouble", "alias": "l_haz", "domain": null }, { "name": "m_haz", "type": "esriFieldTypeDouble", "alias": "m_haz", "domain": null }, { "name": "h_haz", "type": "esriFieldTypeDouble", "alias": "h_haz", "domain": null }, { "name": "l_haz_pp", "type": "esriFieldTypeDouble", "alias": "l_haz_pp", "domain": null }, { "name": "m_haz_pp", "type": "esriFieldTypeDouble", "alias": "m_haz_pp", "domain": null }, { "name": "h_haz_pp", "type": "esriFieldTypeDouble", "alias": "h_haz_pp", "domain": null }, { "name": "l_haz_rd", "type": "esriFieldTypeDouble", "alias": "l_haz_rd", "domain": null }, { "name": "m_haz_rd", "type": "esriFieldTypeDouble", "alias": "m_haz_rd", "domain": null }, { "name": "h_haz_rd", "type": "esriFieldTypeDouble", "alias": "h_haz_rd", "domain": null }, { "name": "l_haz_f", "type": "esriFieldTypeDouble", "alias": "l_haz_f", "domain": null }, { "name": "m_haz_f", "type": "esriFieldTypeDouble", "alias": "m_haz_f", "domain": null }, { "name": "h_haz_f", "type": "esriFieldTypeDouble", "alias": "h_haz_f", "domain": null }, { "name": "l_haz_pp_f", "type": "esriFieldTypeDouble", "alias": "l_haz_pp_f", "domain": null }, { "name": "m_haz_pp_f", "type": "esriFieldTypeDouble", "alias": "m_haz_pp_f", "domain": null }, { "name": "h_haz_pp_f", "type": "esriFieldTypeDouble", "alias": "h_haz_pp_f", "domain": null }, { "name": "l_haz_rd_f", "type": "esriFieldTypeDouble", "alias": "l_haz_rd_f", "domain": null }, { "name": "m_haz_rd_f", "type": "esriFieldTypeDouble", "alias": "m_haz_rd_f", "domain": null }, { "name": "h_haz_rd_f", "type": "esriFieldTypeDouble", "alias": "h_haz_rd_f", "domain": null } ], "indexes": [ { "name": "r794_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "capabilities": "Query,Map,Data", "maxRecordCount": 46754, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, PBF", "isDataVersioned": false, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsPagination": true, "supportsTrueCurve": false, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": false }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "serviceItemId": "002542dcf384410aa3766de84e54b6eb" } ] }