{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 18, "name": "ATSRoute_C", "type": "Feature Layer", "description": "Cartographic features for ATSRoute. A designated route for channeling the flow of traffic as necessary for the provision of air traffic services. This include jet routes, area navigation routes (RNAV), and arrival and departure route. Routes may be defined with a designator; a path to and from significant points; distance between significant points; reporting requirements; and the lowest safe altitude.", "geometryType": "esriGeometryPolyline", "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 ATSRoute \"feature\" with dictionary of attributes\nvar mainFieldArray = [\"DistVertUpperVal_Txt\", \"DistVertUpper_UOM\", \"DistVertLowerVal_Txt\", \"DistVertLower_UOM\", \"Length_Val\", \"RouteType_Code\", \"MagTrack_Val\", \"ReverseMagTrack_Val\"]\nvar mainArray = GetFeaturesArray($feature.Main_Info, mainFieldArray)\n\n//early return: no symbol if no feature\nif (Count(mainArray) == 0) return \"Null Line\"\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//Get the attributes\nvar rteType = mainFeature.RouteType_Code\n\n//determine ATSRoute symbol\n//Type / Symbol Name - Add more pairs for more specific symbology output\nvar symOut = Decode(rteType, \"CONV\", \"Route - Conventional\",\n \"ADV\", \"Route - Advisory 1\", \n \"RNAV\", \"Route - Area Navigation\", \n \"DCTATS\", \"Route - Direct\", \n\"Null Line\")\n\nreturn symOut\n", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "Custom", "classes": [ { "label": "Null Line", "description": "Null Line", "symbol": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 110, 110, 110, 255 ], "width": 0 }, "values": [ [ "Null Line" ] ] }, { "label": "Route - Conventional", "description": "Route - Conventional", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 38, 115, 255 ], "width": 0.5 }, "values": [ [ "Route - Conventional" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 110, 110, 110, 255 ], "width": 0 }, "value": "Null Line", "label": "Null Line" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 38, 115, 255 ], "width": 0.5 }, "value": "Route - Conventional", "label": "Route - Conventional" } ], "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": -812918.683350413, "ymin": 4617394.405849796, "xmax": 53804.42017902287, "ymax": 5261268.175098905, "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": "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": "IDENTCONCAT_TXT", "type": "esriFieldTypeString", "alias": "IdentConcat_Txt", "length": 255, "domain": null }, { "name": "TFLAG_CODE", "type": "esriFieldTypeSmallInteger", "alias": "TFlag_Code", "domain": { "type": "codedValue", "name": "Code_DesigPntIndicator", "description": "", "codedValues": [ { "name": "None", "code": 0 }, { "name": "StartDesigPnt", "code": 1 }, { "name": "EndDesigPnt", "code": 2 }, { "name": "Both", "code": 3 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "DESIGPNTMRA_CODE", "type": "esriFieldTypeSmallInteger", "alias": "DesigPntMRA_Code", "domain": { "type": "codedValue", "name": "Code_DesigPntIndicator", "description": "", "codedValues": [ { "name": "None", "code": 0 }, { "name": "StartDesigPnt", "code": 1 }, { "name": "EndDesigPnt", "code": 2 }, { "name": "Both", "code": 3 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "DESIGPNTMCA_CODE", "type": "esriFieldTypeSmallInteger", "alias": "DesigPntMCA_Code", "domain": { "type": "codedValue", "name": "Code_DesigPntIndicator", "description": "", "codedValues": [ { "name": "None", "code": 0 }, { "name": "StartDesigPnt", "code": 1 }, { "name": "EndDesigPnt", "code": 2 }, { "name": "Both", "code": 3 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "DMEDIST_VAL", "type": "esriFieldTypeSmallInteger", "alias": "DMEDist_Val", "domain": null }, { "name": "STARTDESIGPNTANNOSTYLE_CODE", "type": "esriFieldTypeInteger", "alias": "StartDesigPntAnnoStyle_Code", "domain": { "type": "codedValue", "name": "Code_RteDesigPntAnnoStyle", "description": "", "codedValues": [ { "name": "Standard Label", "code": 0 }, { "name": "TOnly", "code": 1 }, { "name": "BearingAbove", "code": 2 }, { "name": "BearingBelow", "code": 3 }, { "name": "InvertArrowAndT", "code": 4 }, { "name": "InvertTOnly", "code": 5 }, { "name": "InvertBearingAbove", "code": 6 }, { "name": "InvertBearingBelow", "code": 7 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "ENDDESIGPNTANNOSTYLE_CODE", "type": "esriFieldTypeInteger", "alias": "EndDesigPntAnnoStyle_Code", "domain": { "type": "codedValue", "name": "Code_RteDesigPntAnnoStyle", "description": "", "codedValues": [ { "name": "Standard Label", "code": 0 }, { "name": "TOnly", "code": 1 }, { "name": "BearingAbove", "code": 2 }, { "name": "BearingBelow", "code": 3 }, { "name": "InvertArrowAndT", "code": 4 }, { "name": "InvertTOnly", "code": 5 }, { "name": "InvertBearingAbove", "code": 6 }, { "name": "InvertBearingBelow", "code": 7 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "IDENTSTACKING_VAL", "type": "esriFieldTypeSmallInteger", "alias": "IdentStacking_Val", "domain": null }, { "name": "MILEAGEBREAKDOWN_CODE", "type": "esriFieldTypeSmallInteger", "alias": "MileageBreakdown_Code", "domain": null }, { "name": "DMESTYLE_CODE", "type": "esriFieldTypeInteger", "alias": "DMEStyle_Code", "domain": { "type": "codedValue", "name": "Code_ATSDMEAnno_Style", "description": "", "codedValues": [ { "name": "East Arrow Below", "code": 0 }, { "name": "West Arrow Below", "code": 1 }, { "name": "East Arrow Above", "code": 2 }, { "name": "West Arrow Above", "code": 3 }, { "name": "East Arrow Only", "code": 4 }, { "name": "West Arrow Only", "code": 5 }, { "name": "No Override", "code": 9 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "DESIGPNTFLOVER_CODE", "type": "esriFieldTypeSmallInteger", "alias": "DesigPntFlover_Code", "domain": { "type": "codedValue", "name": "Code_DesigPntIndicator", "description": "", "codedValues": [ { "name": "None", "code": 0 }, { "name": "StartDesigPnt", "code": 1 }, { "name": "EndDesigPnt", "code": 2 }, { "name": "Both", "code": 3 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "NRANNOSTYLE_CODE", "type": "esriFieldTypeSmallInteger", "alias": "NRAnnoStyle_Code", "domain": null }, { "name": "CRUISELEVELFLIPPED_CODE", "type": "esriFieldTypeSmallInteger", "alias": "CruiseLevelFlipped_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": "ROUTEOFFSET_VAL", "type": "esriFieldTypeDouble", "alias": "ROUTEOFFSET_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": "Route_Info", "type": "esriFieldTypeString", "alias": "Route_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": "G39GFID", "fields": "GFID", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [ { "id": 2, "name": "ATSRoute_C_A", "relatedTableId": 6, "role": "esriRelRoleOrigin", "keyField": "GlobalID", "cardinality": "esriRelCardinalityOneToMany", "composite": true, "catalogID": "{37AF4407-AB30-40BA-AE1C-B3148107E2F4}" } ], "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, "hasGeometryProperties": true, "geometryProperties": { "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" }