{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 16, "name": "ADHP_C", "type": "Feature Layer", "description": "Cartographic features for ADHP. (ICAO) A defined area on land or water (including any buildings, installations and equipment) intended to be used either wholly or in part for the arrival, departure and surface movement of aircraft/helicopters. Aerodrome/Heliport.", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 4326, "latestWkid": 4326, "vcsWkid": 115700, "latestVcsWkid": 115700, "xyTolerance": 8.98315284119521E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 9.999999999999999E8, "falseZ": -100000, "zUnits": 100000, "falseM": 0, "mUnits": 1 }, "sourceHeightModelInfo": { "heightModel": "ellipsoidal", "vertCRS": "WGS_1984", "heightUnit": "meter" }, "copyrightText": "Esri", "parentLayer": { "id": 15, "name": "Cartographic" }, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 1000000.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "/////////////////////////////////////////////////////////////////////\n//Function definitions\n/////////////////////////////////////////////////////////////////////\n\n//GetFeaturesArray parses attribute strings into Arcade features\n//inputs: \n// stringVal = the string to parse\n// fieldNameArray = an array listing the attributes on the output features\n//output:\n// an array of Features containing attributes listed in fieldNameArray\nfunction GetFeaturesArray(stringVal, fieldNameArray) {\n //early return: no features exist if input string is empty\n if (isEmpty(stringVal)) return []\n //split string into features\n var featurevalues = Split(stringVal, '||')\n //split each feature into attributes/fields\n var myArray = []\n for (var f in featurevalues) {\n var values = Split(featurevalues[f], '<>')\n var dict = {}\n for(var k in fieldNameArray) {\n if (Count(values) > k) {\n dict[fieldNameArray[k]] = values[k]\n } else {\n dict[fieldNameArray[k]] = \"\"\n }\n }\n var myFeature = Feature(null, dict)\n myArray[f] = myFeature\n }\n return myArray\n}\n\n/////////////////////////////////////////////////////////////////////\n//Main logic\n/////////////////////////////////////////////////////////////////////\n\n//Create ADHP related \"feature\" with dictionary of attributes\nvar mainFieldArray = [\"Name_Txt\", \"Type_Code\"]\nvar mainArray = GetFeaturesArray($feature.Main_Info, mainFieldArray)\n\n//early return: no symbol if no feature\nif (Count(mainArray) == 0) return \"Null Point\"\n\n//Get the main feature\n//in this sample, we know there is only one feature because relationship between\n//carto and main is 1:1. Thus we can directly access the first item in the array.\n//If Prepare Aviation Data used more complicated relates in the json config, \n//we'd need to take more care and likely loop through the array of features.\nvar mainFeature = mainArray[0] \n\n//determine Aerodrome symbol\n//Type / Symbol Name - Add more pairs for more specific symbology output\nvar symOut = Decode(mainFeature.type_code,\n \"AD\", \"Airport 1\",\n\"Null Point\")\n\nreturn symOut\n", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "Aeronautical Data", "classes": [ { "label": "Airport 1", "description": "Airport 1", "symbol": { "type": "esriPMS", "url": "fd448202906b59c8c84fd07809d52012", "imageData": "iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABnElEQVQ4jbVUQZKCMBBsWD4hZyt6x2eAz9AHxPLsXi15gDxj8RlwV8rrwitMtiaJKBCErdK+AZNm0tM9Hj4Eb3TldBPBkyXOcf5eYlf+QKAC4L+XuA+zrY/LvhwmZjwFMEERL9TznAcQTgRIepqA8SNcJEoS9e22A+Mlinj9mhiYAAjAeAaggkAISJLgZL6tILAC47mRJgSQtzvvEhfxwpAG6oBwlrge6BYPqE6R1jXO17ItR5/GVX3g2tXPOMNXEhBGaTxX3YS6UwvpM4SzVm6hMy0bdomFGlTVub4NVMM4zUFL0iGebiK48qhfSRpQgvGgBo5gfFff4npINbEnS4hG8agQaDiVsWIDXmMYBPKpnvZISLJbMuxjFwkEMttAegYdwEWD1E58jnNj/nRQEgHSNbc10Ge3qk6fxfymhkhJBqrFa+LZ1lfZv8eUIG+/YJziXJpBhU/2qsz+yOrdYiW+7EuTpkdMH92tzPRPgPON4qDtdd8pg1IU8bqxULR+kfkhbb2oVd/otJ8Y9uz/F+MXPSXqI8RjdscT/gARTMF730d7fgAAAABJRU5ErkJggg==", "contentType": "image/png", "width": 16, "height": 16, "angle": 0, "xoffset": 0.00419916016796566, "yoffset": 0 }, "values": [ [ "Airport 1" ] ] }, { "label": "Null Point", "description": "Null Point", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 0, 0, 0, 0 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "Null Point" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriPMS", "url": "fd448202906b59c8c84fd07809d52012", "imageData": "iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABnElEQVQ4jbVUQZKCMBBsWD4hZyt6x2eAz9AHxPLsXi15gDxj8RlwV8rrwitMtiaJKBCErdK+AZNm0tM9Hj4Eb3TldBPBkyXOcf5eYlf+QKAC4L+XuA+zrY/LvhwmZjwFMEERL9TznAcQTgRIepqA8SNcJEoS9e22A+Mlinj9mhiYAAjAeAaggkAISJLgZL6tILAC47mRJgSQtzvvEhfxwpAG6oBwlrge6BYPqE6R1jXO17ItR5/GVX3g2tXPOMNXEhBGaTxX3YS6UwvpM4SzVm6hMy0bdomFGlTVub4NVMM4zUFL0iGebiK48qhfSRpQgvGgBo5gfFff4npINbEnS4hG8agQaDiVsWIDXmMYBPKpnvZISLJbMuxjFwkEMttAegYdwEWD1E58jnNj/nRQEgHSNbc10Ge3qk6fxfymhkhJBqrFa+LZ1lfZv8eUIG+/YJziXJpBhU/2qsz+yOrdYiW+7EuTpkdMH92tzPRPgPON4qDtdd8pg1IU8bqxULR+kfkhbb2oVd/otJ8Y9uz/F+MXPSXqI8RjdscT/gARTMF730d7fgAAAABJRU5ErkJggg==", "contentType": "image/png", "width": 16, "height": 16, "angle": 0, "xoffset": 0.00419916016796566, "yoffset": 0 }, "value": "Airport 1", "label": "Airport 1" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 0, 0, 0, 0 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "Null Point", "label": "Null Point" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 207, 208, 252, 255 ], "toColor": [ 207, 208, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 180, 252, 179, 255 ], "toColor": [ 180, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 210, 179, 255 ], "toColor": [ 252, 210, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 252, 246, 255 ], "toColor": [ 189, 252, 246, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 230, 255 ], "toColor": [ 252, 179, 230, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 251, 252, 187, 255 ], "toColor": [ 251, 252, 187, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 228, 255 ], "toColor": [ 252, 215, 228, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 207, 179, 252, 255 ], "toColor": [ 207, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 252, 215, 255 ], "toColor": [ 212, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 232, 252, 255 ], "toColor": [ 202, 232, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 194, 255 ], "toColor": [ 252, 182, 194, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 240, 207, 255 ], "toColor": [ 252, 240, 207, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 240, 204, 252, 255 ], "toColor": [ 240, 204, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -746685.0702172308, "ymin": 4759981.525898352, "xmax": -24242.936065972295, "ymax": 5105467.149910784, "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": "ISVISIBLE", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "GFID", "type": "esriFieldTypeGUID", "alias": "GFID", "length": 38, "domain": null }, { "name": "ISVISIBLE", "type": "esriFieldTypeSmallInteger", "alias": "IsVisible", "domain": { "type": "codedValue", "name": "Code_Yes_No", "description": "", "codedValues": [ { "name": "Yes", "code": 1 }, { "name": "No", "code": 0 }, { "name": "Other", "code": 2 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "CARTOMODIFIED_CODE", "type": "esriFieldTypeSmallInteger", "alias": "CartoModified_Code", "domain": { "type": "codedValue", "name": "Code_Yes_No", "description": "", "codedValues": [ { "name": "Yes", "code": 1 }, { "name": "No", "code": 0 }, { "name": "Other", "code": 2 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "LABELSTATUS_CODE", "type": "esriFieldTypeSmallInteger", "alias": "LabelStatus_Code", "domain": { "type": "codedValue", "name": "Code_LabelStatus", "description": "", "codedValues": [ { "name": "No Label", "code": 0 }, { "name": "Full Label", "code": 1 }, { "name": "Abbreviated Label", "code": 2 }, { "name": "Abbreviated Panel Label", "code": 3 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "LABEL_TXT", "type": "esriFieldTypeString", "alias": "Label_Txt", "length": 2000, "domain": null }, { "name": "MAPID_TXT", "type": "esriFieldTypeString", "alias": "MapId_Txt", "length": 500, "domain": null }, { "name": "MASTER_ID", "type": "esriFieldTypeGUID", "alias": "Master_Id", "length": 38, "domain": null }, { "name": "CHARTTYPE_CODE", "type": "esriFieldTypeSmallInteger", "alias": "ChartType_Code", "domain": { "type": "codedValue", "name": "Code_Awy_Structure", "description": "", "codedValues": [ { "name": "High", "code": 0 }, { "name": "Low", "code": 1 }, { "name": "Both", "code": 2 }, { "name": "Terminal", "code": 3 }, { "name": "RNAV", "code": 4 }, { "name": "Runway or Displaced Threshold", "code": 5 }, { "name": "Pitch and Catch (RNAV)", "code": 6 }, { "name": "Off Rte Intersection in FAA airspace", "code": 7 }, { "name": "ATCAA and SUAS Waypoints", "code": 8 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "CARTOANGLE_VAL", "type": "esriFieldTypeDouble", "alias": "CartoAngle_Val", "domain": null }, { "name": "OFFSET_TXT", "type": "esriFieldTypeString", "alias": "Offset_Txt", "length": 255, "domain": null }, { "name": "SOURCE_TXT", "type": "esriFieldTypeString", "alias": "SOURCE_TXT", "length": 50, "domain": null }, { "name": "Main_Info", "type": "esriFieldTypeString", "alias": "Main_Info", "length": 2000, "domain": null }, { "name": "ReferenceScale", "type": "esriFieldTypeDouble", "alias": "ReferenceScale", "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "Shape", "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": "" }, { "name": "FDO_GlobalID", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [ { "id": 4, "name": "ADHP_C_A", "relatedTableId": 13, "role": "esriRelRoleOrigin", "keyField": "GlobalID", "cardinality": "esriRelCardinalityOneToMany", "composite": true, "catalogID": "{51E75984-9E10-4E4E-8550-CE833F536E9E}" } ], "canModifyLayer": false, "canScaleSymbols": true, "hasLabels": false, "maxRecordCount": 1000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "advancedQueryCapabilities": { "useStandardizedQueries": false, "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": true, "supportsQueryAnalytic": false, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "capabilities": "Map,TilesOnly", "serviceItemId": "217a8232955645f786d3d13fe040d0ae" }