{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 17, "name": "Airspace_C", "type": "Feature Layer", "description": "Cartographic features for Airspace. A generic entity representing variously 'regions' (ICAO and otherwise), 'areas', 'zones', 'sectors' (elementary and/or consolidated) etc., as used in and by air traffic services, including those of the FUA concept, special regulated and client defined airspaces and all sorts of 'limited' airspaces. It is also used to identify 'political' and/or 'geographical' two-dimensional areas representing countries, coastlines and so on. It should be noted that countries and the like could be regarded, without restriction of the generality, as three-dimensional areas with MSL as lower and UNL as upper levels. Also a defined three dimensional region of space relevant to air traffic.", "geometryType": "esriGeometryPolygon", "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": -100000, "mUnits": 100000 }, "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 Airspace \"feature\" with dictionary of attributes\nvar mainFieldArray = [\"Name_Txt\", \"Ident_Txt\", \"Type_Code\", \"DistVertUpper_Uom\", \"DistVertUpperVal_Txt\", \"DistVertLower_Uom\", \"DistVertLowerVal_Txt\"]\nvar mainArray = GetFeaturesArray($feature.Main_Info, mainFieldArray)\n\n//early return: no symbol if no feature\nif (Count(mainArray) == 0) return \"Null Polygon\"\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 airspace symbol\n//Type / Symbol Name - Add more pairs for more specific symbology output\nvar symOut = Decode(mainFeature.Type_Code, \n \"FIR\", \"Airspace - FIR\", \n \"TMA\", \"Airspace - CTA\", \n \"CTR\", \"Airspace - CTR\",\n \"ADIZ\", \"Airspace - ADIZ 1\",\n \"P\", \"Airspace - SUA 2\", \n \"R\", \"Airspace - SUA 2\", \n \"D\", \"Airspace - SUA 2\", \n\"Null Polygon\")\n\nreturn symOut\n", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "Aeronautical Data", "classes": [ { "label": "Airspace - CTA", "description": "Airspace - CTA", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 0, 0, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 38, 115, 255 ], "width": 1.5 } }, "values": [ [ "Airspace - CTA" ] ] }, { "label": "Airspace - CTR", "description": "Airspace - CTR", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 255, 255, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 0, 38, 115, 255 ], "width": 1 } }, "values": [ [ "Airspace - CTR" ] ] }, { "label": "Airspace - SUA 2", "description": "Airspace - SUA 2", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 0, 0, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 13, 23, 110, 255 ], "width": 0.4 } }, "values": [ [ "Airspace - SUA 2" ] ] }, { "label": "Null Polygon", "description": "Null Polygon", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 237, 232, 217, 0 ], "outline": null }, "values": [ [ "Null Polygon" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 0, 0, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 38, 115, 255 ], "width": 1.5 } }, "value": "Airspace - CTA", "label": "Airspace - CTA" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 255, 255, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 0, 38, 115, 255 ], "width": 1 } }, "value": "Airspace - CTR", "label": "Airspace - CTR" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 0, 0, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 13, 23, 110, 255 ], "width": 0.4 } }, "value": "Airspace - SUA 2", "label": "Airspace - SUA 2" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 237, 232, 217, 0 ], "outline": null }, "value": "Null Polygon", "label": "Null Polygon" } ], "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": -1447153.38031255, "ymin": 4277712.476350108, "xmax": 519490.93959522614, "ymax": 5625831.569929022, "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": "SHAPE_Length", "type": "esriFieldTypeDouble", "alias": "SHAPE_Length", "domain": null }, { "name": "SHAPE_Area", "type": "esriFieldTypeDouble", "alias": "SHAPE_Area", "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": "INCLUSIONNOTE_TXT", "type": "esriFieldTypeString", "alias": "InclusionNote_Txt", "length": 255, "domain": null }, { "name": "ONTERMINALS_CODE", "type": "esriFieldTypeSmallInteger", "alias": "OnTerminals_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": "CARTOANGLE_VAL", "type": "esriFieldTypeDouble", "alias": "CartoAngle_Val", "domain": null }, { "name": "SOURCE_TXT", "type": "esriFieldTypeString", "alias": "SOURCE_TXT", "length": 50, "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "Main_Info", "type": "esriFieldTypeString", "alias": "Main_Info", "length": 2000, "domain": null }, { "name": "ReferenceScale", "type": "esriFieldTypeDouble", "alias": "ReferenceScale", "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "Service_Info", "type": "esriFieldTypeString", "alias": "Service_Info", "length": 2000, "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": "" }, { "name": "G21GFID", "fields": "GFID", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [ { "id": 3, "name": "Airspace_C_A", "relatedTableId": 10, "role": "esriRelRoleOrigin", "keyField": "GlobalID", "cardinality": "esriRelCardinalityOneToMany", "composite": true, "catalogID": "{29134E7C-1C2A-4D97-9F1F-46A49570CCBA}" } ], "canModifyLayer": false, "canScaleSymbols": true, "hasLabels": false, "maxRecordCount": 1000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "hasM": 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, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "SHAPE_Area", "shapeLengthFieldName": "SHAPE_Length", "units": "esriDecimalDegrees", "mapUnits": {"uwkid": 9102} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "capabilities": "Map,TilesOnly", "serviceItemId": "217a8232955645f786d3d13fe040d0ae" }