{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 21, "name": "AirspaceLine_C", "type": "Feature Layer", "description": "Cartographic features for AirspaceLine. The airspace line segments that are constructed using exisitng airspace polygon features.", "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//Global variables\n/////////////////////////////////////////////////////////////////////\nvar fieldsArray = ['Name', 'Ident', 'Sector_Txt', 'TypeCode'];\nvar strLeft = $feature.LEFTLABEL_TXT;\nvar strRight = $feature.RIGHTLABEL_TXT;\nvar strOut = \"Null Line\";\n\n/////////////////////////////////////////////////////////////////////\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//Checks for types\nfunction hasType(featuresArray, types) {\n for (var k in featuresArray) {\n var index = IndexOf(types, featuresArray[k].TypeCode);\n if (index >= 0)\n return true;\n }\n return false;\n}\n\n//Looks for location of types, Both-Right-Left-None\nfunction GetTypeString(leftArray, rightArray, types) {\n var hasLeftType = hasType(leftArray, types);\n var hasRightType = hasType(rightArray, types);\n if (hasLeftType && hasRightType) {\n return \"B\";\n } else if (hasRightType) {\n return \"R\";\n } else if (hasLeftType) {\n return \"L\";\n }\n return \"N\";\n}\n\n//Create AirspaceLines \"feature\" arrays\nvar leftFeaturesArray = getFeaturesArray(strLeft, fieldsArray);\nvar rightFeaturesArray = getFeaturesArray(strRight, fieldsArray);\nvar strFIR = GetTypeString(leftFeaturesArray, rightFeaturesArray, [\"FIR\"]);\nvar strUIR = GetTypeString(leftFeaturesArray, rightFeaturesArray, [\"UIR\"]);\nvar strARTCC = GetTypeString(leftFeaturesArray, rightFeaturesArray, [\"ARTCC\", \"ACC\"]);\nvar strADIZ = GetTypeString(leftFeaturesArray, rightFeaturesArray, [\"ADIZ\", \"DEF\"]);\nvar strCTA = GetTypeString(leftFeaturesArray, rightFeaturesArray, [\"CTA\", \"CTA-P\", \"UTA\", \"OCA\"]);\n\n//typeCodes returns a five charachter string, EX: LNNNN would mean that strFir variable found a feature\n//...with the [\"FIR\"] type, that has Left annotation present in the attributes, and no other types.\nvar typeCodes = strFir + strUIR + strADIZ + strARTCC + strCTA\n\n//Compares codes retrieved from typeCodes variable and returns proper symbology name.\n//Five letter codes representing: (FIR + UIR + ARTCC + ADIZ + CTA) ...Returned from GetTypeString Function. \n//These are the possible values: B = Both, R = Right, L = Left, N = None.\n//Type / Symbol Name - Add more pairs for more specific symbology output\nvar symOut = Decode(typeCodes, \n \"LNNNN\", \"AirBdry FIR Left\",\n \"RNNNN\", \"AirBdry FIR Right\",\n \"BNNNN\", \"AirBdry FIR Both\",\n \"NLNNN\", \"AirBdry UIR Left\",\n \"NRNNN\", \"AirBdry UIR Right\",\n \"NBNNN\", \"AirBdry UIR Both\",\n \"LLNNN\", \"AirBdry FIR Left, UIR Left\",\n \"RRNNN\", \"AirBdry FIR Right, UIR Right\",\n \"BBNNN\", \"AirBdry FIR Both, UIR Both\",\n \"LRNNN\", \"AirBdry FIR Left, UIR Right\",\n \"RLNNN\", \"AirBdry FIR Right, UIR Left\",\n \"LBNNN\", \"AirBdry FIR Left, UIR Both\",\n \"RBNNN\", \"AirBdry FIR Right, UIR Both\",\n \"BLNNN\", \"AirBdry Fir Both, UIR Left\",\n \"BRNNN\", \"AirBdry FiR Both, UIR Right\",\n \"NNNNL\", \"AirBdry CTA/UTA/OCA\",\n \"NNNNR\", \"AirBdry CTA/UTA/OCA\",\n \"NNNNB\", \"AirBdry CTA/UTA/OCA\",\n \"NNLNN\", \"AirBdry ADIZ Right\",\n \"NNRNN\", \"AirBdry ADIZ Left\",\n \"NNBNN\", \"AirBdry ADIZ Both\",\n \"NNNLN\", \"AirBdry ARTCC Center\",\n \"NNNLL\", \"AirBdry ARTCC Left\",\n \"NNNLR\", \"AirBdry ARTCC Left\",\n \"NNNLB\", \"AirBdry ARTCC Left\",\n \"NNNRN\", \"AirBdry ARTCC Center\",\n \"NNNRL\", \"AirBdry ARTCC Right\",\n \"NNNRR\", \"AirBdry ARTCC Left\",\n \"NNNRB\", \"AirBdry ARTCC Right\",\n \"NNNBN\", \"AirBdry ARTCC Center\",\n \"NNNBL\", \"AirBdry ARTCC Right\",\n \"NNNBR\", \"AirBdry ARTCC Left\",\n \"NNNBB\", \"AirBdry ARTCC Center\",\n \"NNLRN\", \"AirBdry ADIZ Left, ARTCC Right\",\n \"NNRLN\", \"AirBdry ADIZ Right, ARTCC Left\",\n \"NNLLN\", \"AirBdry ADIZ Left, ARTCC Left\",\n \"NNRRN\", \"AirBdry ADIZ Right, ARTCC Right\", \n \"NNBLN\", \"AirBdry ADIZ Both, ARTCC Left\",\n \"NNBRN\", \"AirBdry ADIZ Both, ARTCC Right\",\n \"NNLBN\", \"AirBdry ADIZ Left, ARTCC Right\",\n \"NNLBL\", \"AirBdry ADIZ Left, ARTCC Right\",\n \"NNLBR\", \"AirBdry ADIZ Left, ARTCC Left\", \n \"NNLBB\", \"AirBdry ADIZ Left, ARTCC Center\",\n \"NNRBN\", \"AirBdry ADIZ Right, ARTCC Right\",\n \"NNRBL\", \"AirBdry ADIZ Right, ARTCC Right\",\n \"NNRBR\", \"AirBdry ADIZ Right, ARTCC Left\", \n \"NNRBB\", \"AirBdry ADIZ Right, ARTCC Center\", \n \"NNBBN\", \"AirBdry ADIZ Both, ARTCC Right\",\n \"NNBBL\", \"AirBdry ADIZ Both, ARTCC Right\",\n \"NNBBR\", \"AirBdry ADIZ Both, ARTCC Left\", \n \"NNBBB\", \"AirBdry ADIZ Both, ARTCC Center\",\nstrOut)\n\n//Return symbol names \nreturn symOut", "valueExpressionTitle": "Custom", "defaultSymbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 255 ], "width": 1 }, "defaultLabel": "", "uniqueValueGroups": [], "uniqueValueInfos": [], "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": false, "extent": { "xmin": -2.0037507842788246E7, "ymin": -3.024097145838615E7, "xmax": 2.0037507842788246E7, "ymax": 3.024097145838615E7, "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": "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": "LEFTLABEL_TXT", "type": "esriFieldTypeString", "alias": "LeftLabel_Txt", "length": 1000, "domain": null }, { "name": "RIGHTLABEL_TXT", "type": "esriFieldTypeString", "alias": "RightLabel_Txt", "length": 1000, "domain": null }, { "name": "ADIZ_CODE", "type": "esriFieldTypeSmallInteger", "alias": "ADIZ_Code", "domain": { "type": "codedValue", "name": "Code_ADIZ", "description": "", "codedValues": [ { "name": "None", "code": 0 }, { "name": "Internal", "code": 1 }, { "name": "External", "code": 2 }, { "name": "Internal Coincident", "code": 3 }, { "name": "Double", "code": 5 }, { "name": "Double Coincident", "code": 6 }, { "name": "External Coincident", "code": 4 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "LINESYMBOL_TXT", "type": "esriFieldTypeString", "alias": "LineSymbol_Txt", "length": 255, "domain": null }, { "name": "PREFERENCE_TXT", "type": "esriFieldTypeString", "alias": "Preference_Txt", "length": 255, "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": "SHAPE_Length", "type": "esriFieldTypeDouble", "alias": "SHAPE_Length", "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": [], "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" }