{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 1, "name": "Áreas", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 0, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPolygon", "description": "", "copyrightText": "", "editFieldsInfo": null, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": false, "isDataArchived": false, "infoInEstimates": [ "extent", "count" ], "isDataBranchVersioned": false, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": true, "supportsQuantizationEditMode": true, "supportsCalculate": true, "supportsASyncCalculate": true, "supportsDatumTransformation": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsCurrentUserQueries": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": true, "supportsSqlExpression": true, "supportsQueryWithDatumTransformation": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": true }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": true, "supportsPercentileAnalytic": true }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON" }, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "Shape__Area", "shapeLengthFieldName": "Shape__Length", "units": "esriMeters" }, "hasMetadata": true, "extent": { "xmin": -2465582.0056999996, "ymin": -1847.903599999845, "xmax": 1402592.188099999, "ymax": 6366492.327100001, "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 } }, "sourceSpatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var gfid = Text($feature.GFID);\nvar qcode = Text($feature.qcode);\nvar acc = Upper(Trim(Text($feature.accion)));\n\n// 1) Prioridad por \"accion\"\nif (!IsEmpty(acc)) {\n // ROJO si contiene CLSD o CLOSED\n if (Find(acc, 'CLSD') > -1 || Find(acc, 'CLOSED') > -1) {\n return 'ROJO';\n }\n\n // AMARILLO si contiene LIMITED, LTD o U/S\n if (Find(acc, 'LIMITED') > -1 || Find(acc, 'LTD') > -1 || Find(acc, 'U/S') > -1) {\n return 'AMARILLO';\n }\n}\n\n// 2) Si no hay coincidencia en \"accion\", usa tu lógica original\nif (!IsEmpty(gfid) && Left(gfid, 1) == 'R') {\n return 'GFID_R';\n}\n\nif (!IsEmpty(qcode) && Left(qcode, 1) == 'R') {\n return 'R';\n}\n\nreturn 'Otros';\n", "valueExpressionTitle": "Custom", "defaultSymbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 130, 130, 130, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "defaultLabel": "", "uniqueValueGroups": [ { "heading": "Custom", "classes": [ { "label": "NOTAM LTD, U/S", "description": "NOTAM LTD, U/S", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 254, 240, 191 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 127, 127, 255 ], "width": 0.7 } }, "values": [ [ "AMARILLO" ] ] }, { "label": "NOTAM UAS", "description": "NOTAM UAS", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 254, 240, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 230, 0, 255 ], "width": 1.4999999999999998 } }, "values": [ [ "GFID_R" ] ] }, { "label": "NOTAM Warning", "description": "NOTAM Warning", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 254, 240, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 148, 0, 255 ], "width": 1.4999999999999998 } }, "values": [ [ "Otros" ] ] }, { "label": "NOTAM Restrictivo", "description": "NOTAM Restrictivo", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 254, 240, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 1.4999999999999998 } }, "values": [ [ "R" ] ] }, { "label": "NOTAM CLOSED", "description": "NOTAM CLOSED", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 128, 128, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 0.7 } }, "values": [ [ "ROJO" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 254, 240, 191 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 127, 127, 255 ], "width": 0.7 } }, "value": "AMARILLO", "label": "NOTAM LTD, U/S" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 254, 240, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 230, 0, 255 ], "width": 1.4999999999999998 } }, "value": "GFID_R", "label": "NOTAM UAS" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 254, 240, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 148, 0, 255 ], "width": 1.4999999999999998 } }, "value": "Otros", "label": "NOTAM Warning" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 254, 240, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 1.4999999999999998 } }, "value": "R", "label": "NOTAM Restrictivo" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 128, 128, 127 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 0, 0, 255 ], "width": 0.7 } }, "value": "ROJO", "label": "NOTAM CLOSED" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 209, 252, 207, 255 ], "toColor": [ 209, 252, 207, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 252, 255 ], "toColor": [ 252, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 196, 179, 255 ], "toColor": [ 252, 196, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 192, 220, 252, 255 ], "toColor": [ 192, 220, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 184, 252, 255 ], "toColor": [ 189, 184, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 238, 192, 255 ], "toColor": [ 252, 238, 192, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 208, 255 ], "toColor": [ 252, 182, 208, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 207, 252, 246, 255 ], "toColor": [ 207, 252, 246, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 244, 212, 252, 255 ], "toColor": [ 244, 212, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 238, 252, 179, 255 ], "toColor": [ 238, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 226, 212, 255 ], "toColor": [ 252, 226, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 238, 252, 255 ], "toColor": [ 179, 238, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 212, 229, 255 ], "toColor": [ 252, 212, 229, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": true, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "", "displayField": "areaSactaName", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "notamId", "type": "esriFieldTypeString", "alias": "notamId", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "notamId" }, { "name": "notamSerie", "type": "esriFieldTypeString", "alias": "notamSerie", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "notamSerie" }, { "name": "notamNumber", "type": "esriFieldTypeInteger", "alias": "notamNumber", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "notamNumber" }, { "name": "notamYear", "type": "esriFieldTypeInteger", "alias": "notamYear", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "notamYear" }, { "name": "icaroCreationTime", "type": "esriFieldTypeDate", "alias": "icaroCreationTime", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "icaroCreationTime" }, { "name": "itemA", "type": "esriFieldTypeString", "alias": "itemA", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "itemA" }, { "name": "itemB", "type": "esriFieldTypeDate", "alias": "itemB", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "itemB" }, { "name": "itemBstr", "type": "esriFieldTypeString", "alias": "itemBstr", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "itemBstr" }, { "name": "itemC", "type": "esriFieldTypeDate", "alias": "itemC", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "itemC" }, { "name": "itemCstr", "type": "esriFieldTypeString", "alias": "itemCstr", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "itemCstr" }, { "name": "itemD", "type": "esriFieldTypeString", "alias": "itemD", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "itemD" }, { "name": "itemE", "type": "esriFieldTypeString", "alias": "itemE", "domain": null, "editable": true, "nullable": true, "length": 1000, "defaultValue": null, "modelName": "itemE" }, { "name": "itemF", "type": "esriFieldTypeString", "alias": "itemF", "domain": null, "editable": true, "nullable": true, "length": 1000, "defaultValue": null, "modelName": "itemF" }, { "name": "itemG", "type": "esriFieldTypeString", "alias": "itemG", "domain": null, "editable": true, "nullable": true, "length": 1000, "defaultValue": null, "modelName": "itemG" }, { "name": "itemQ", "type": "esriFieldTypeString", "alias": "itemQ", "domain": null, "editable": true, "nullable": true, "length": 1000, "defaultValue": null, "modelName": "itemQ" }, { "name": "qcode", "type": "esriFieldTypeString", "alias": "qcode", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "qcode" }, { "name": "fir", "type": "esriFieldTypeString", "alias": "fir", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "fir" }, { "name": "traffic", "type": "esriFieldTypeString", "alias": "traffic", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "traffic" }, { "name": "purpose", "type": "esriFieldTypeString", "alias": "purpose", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "purpose" }, { "name": "scope", "type": "esriFieldTypeString", "alias": "scope", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "scope" }, { "name": "LOWER_VAL", "type": "esriFieldTypeInteger", "alias": "lower_val", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "lower" }, { "name": "UPPER_VAL", "type": "esriFieldTypeInteger", "alias": "upper_val", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "upper" }, { "name": "affectedElement", "type": "esriFieldTypeString", "alias": "affectedElement", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "affectedElement" }, { "name": "incidenceType", "type": "esriFieldTypeString", "alias": "incidenceType", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "incidenceType" }, { "name": "incidenceQualifier", "type": "esriFieldTypeString", "alias": "incidenceQualifier", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "incidenceQualifier" }, { "name": "sourceInformationNotam", "type": "esriFieldTypeString", "alias": "sourceInformationNotam", "domain": null, "editable": true, "nullable": true, "length": 25, "defaultValue": null, "modelName": "sourceInformationNotam" }, { "name": "icaoFormatText", "type": "esriFieldTypeString", "alias": "icaoFormatText", "domain": null, "editable": true, "nullable": true, "length": 1000, "defaultValue": null, "modelName": "icaoFormatText" }, { "name": "areaSactaName", "type": "esriFieldTypeString", "alias": "areaSactaName", "domain": null, "editable": true, "nullable": true, "length": 100, "defaultValue": null, "modelName": "areaSactaName" }, { "name": "accion", "type": "esriFieldTypeString", "alias": "accion", "domain": null, "editable": true, "nullable": true, "length": 20, "defaultValue": null, "modelName": "accion" }, { "name": "itemCIcaro", "type": "esriFieldTypeString", "alias": "itemCIcaro", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "itemCIcaro" }, { "name": "itemBIcaro", "type": "esriFieldTypeString", "alias": "itemBIcaro", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "itemBIcaro" }, { "name": "LOWER_VAL_AGL", "type": "esriFieldTypeInteger", "alias": "LOWER_VAL_AGL", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "LOWER_VAL_AGL" }, { "name": "GFID", "type": "esriFieldTypeString", "alias": "GFID", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "GFID" }, { "name": "FLYING_LEVELS_DESC", "type": "esriFieldTypeString", "alias": "FLYING_LEVELS_DESC", "domain": null, "editable": true, "nullable": true, "length": 100, "defaultValue": null, "modelName": "FLYING_LEVELS_DESC" }, { "name": "DESCRIPTION", "type": "esriFieldTypeString", "alias": "DESCRIPTION", "domain": null, "editable": true, "nullable": true, "length": 1000, "defaultValue": null, "modelName": "DESCRIPTION" }, { "name": "geom_calc_date", "type": "esriFieldTypeDate", "alias": "geom_calc_date", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "geom_calc_date" }, { "name": "Shape__Area", "type": "esriFieldTypeDouble", "alias": "SHAPE.STArea()", "domain": null, "editable": false, "nullable": true, "defaultValue": null, "modelName": "SHAPE.STArea()", "required": true }, { "name": "Shape__Length", "type": "esriFieldTypeDouble", "alias": "SHAPE.STLength()", "domain": null, "editable": false, "nullable": true, "defaultValue": null, "modelName": "SHAPE.STLength()", "required": true } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "SHAPE" }, "indexes": [ { "name": "R14_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S7_idx", "fields": "SHAPE", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "Áreas", "description": "", "prototype": { "attributes": { "geom_calc_date": null, "DESCRIPTION": null, "notamId": null, "notamSerie": null, "notamNumber": null, "notamYear": null, "icaroCreationTime": null, "itemA": null, "itemB": null, "itemBstr": null, "itemC": null, "itemCstr": null, "itemD": null, "itemE": null, "itemF": null, "itemG": null, "itemQ": null, "qcode": null, "fir": null, "traffic": null, "purpose": null, "scope": null, "LOWER_VAL": null, "UPPER_VAL": null, "affectedElement": null, "incidenceType": null, "incidenceQualifier": null, "sourceInformationNotam": null, "icaoFormatText": null, "areaSactaName": null, "accion": null, "itemCIcaro": null, "itemBIcaro": null, "LOWER_VAL_AGL": null, "GFID": null, "FLYING_LEVELS_DESC": null } }, "drawingTool": "esriFeatureEditToolPolygon" } ], "maxRecordCount": 3000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Create,Update,Delete,Uploads,Editing", "useStandardizedQueries": true, "bigIntegerRestrictedTo53Bits": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCount": 4000, "tileMaxRecordCount": 4000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "dab923cce6b34d6f85f452287e2f5a16" }