{ "layers": [ { "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 58, "name": "pgo_vigente", "type": "Feature Layer", "description": "Se trata de una capa vectorial de polígonos que delimitan la extensión geográfica del instrumento urbanístico.La base de datos que se asocia a la información vectorial se organiza en los campos o atributos que se describen a continuación:Nombre: nombre del instrumento urbanísticoCOD_TIPO: código tipo del instrumento urbanísticoID_RUA: identificador en el inventario del registro urbanístico de AsturiasETIQUETA: ID_CONCEJO: código INE identificador del concejo (municipio)INSTRUMENT:AI_BOPA: fecha de publicación en BOPA de la Aprobación Inicial del Instrumento urbanístico (Fecha/Hora)AD_BOPA: fecha de publicación en BOPA de Aprobación Definitiva del Instrumento urbanístico (Fecha/Hora)TR_BOPA: fecha de publicación en BOPA del Texto Refundido del Instrumento Urbanístico (Fecha/Hora)", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 25830, "latestWkid": 25830, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5120900, "falseY": -9998100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "// Get the value of the 'INSTRUMENT' field\nvar instrument = $feature.instrument;\n\n// Initialize the variable to hold the output symbol class\nvar outputSymbolClass = \"\";\n\n// Check the value of the 'INSTRUMENT' field using Left() to match the start of the string\nif (Left(instrument, 4) == \"NSPM\") {\n outputSymbolClass = \"NSPM\";\n} else if (Left(instrument, 4) == \"PGO \") {\n outputSymbolClass = \"PGO\";\n} else if (Left(instrument, 4) == \"PGOU\") {\n outputSymbolClass = \"PGOU\";\n}\n\n// Return the symbol class\nreturn outputSymbolClass;\n", "valueExpressionTitle": "Personalizado2", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "NSPM", "description": "NSPM", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 209, 151, 40, 126 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 1, 255 ], "width": 1 } }, "values": [ [ "NSPM" ] ] }, { "label": "PGO", "description": "PGO", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 25, 129, 121, 128 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "PGO" ] ] }, { "label": "PGOU", "description": "PGOU", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 63, 42, 144, 128 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "PGOU" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 209, 151, 40, 126 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 1, 255 ], "width": 1 } }, "value": "NSPM", "label": "NSPM", "description": "NSPM" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 25, 129, 121, 128 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "PGO", "label": "PGO", "description": "PGO" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 63, 42, 144, 128 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "PGOU", "label": "PGOU", "description": "PGOU" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 182, 255 ], "toColor": [ 252, 215, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 179, 252, 255 ], "toColor": [ 199, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 251, 252, 255 ], "toColor": [ 182, 251, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 188, 252, 179, 255 ], "toColor": [ 188, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 208, 255 ], "toColor": [ 252, 182, 208, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 192, 213, 252, 255 ], "toColor": [ 192, 213, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 232, 252, 215, 255 ], "toColor": [ 232, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 189, 250, 255 ], "toColor": [ 252, 189, 250, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 212, 219, 255 ], "toColor": [ 252, 212, 219, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 235, 252, 179, 255 ], "toColor": [ 235, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 224, 255 ], "toColor": [ 184, 252, 224, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 227, 210, 252, 255 ], "toColor": [ 227, 210, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 210, 242, 255 ], "toColor": [ 252, 210, 242, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 161284.30370000005, "ymin": 4754653.875700001, "xmax": 377590.5127999997, "ymax": 4837952.216499999, "spatialReference": { "wkid": 25830, "latestWkid": 25830, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5120900, "falseY": -9998100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "nombre", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "objectid", "domain": null }, { "name": "nombre", "type": "esriFieldTypeString", "alias": "NOMBRE", "length": 150, "domain": null }, { "name": "cod_tipo", "type": "esriFieldTypeString", "alias": "COD_TIPO", "length": 4, "domain": null }, { "name": "etiqueta", "type": "esriFieldTypeString", "alias": "Etiqueta", "length": 50, "domain": null }, { "name": "instrument", "type": "esriFieldTypeString", "alias": "Instrument", "length": 50, "domain": null }, { "name": "ai_bopa", "type": "esriFieldTypeDate", "alias": "AI_BOPA", "length": 8, "domain": null }, { "name": "ad_bopa", "type": "esriFieldTypeDate", "alias": "AD_BOPA", "length": 8, "domain": null }, { "name": "tr_bopa", "type": "esriFieldTypeDate", "alias": "TR_BOPA", "length": 8, "domain": null }, { "name": "id_concejo", "type": "esriFieldTypeInteger", "alias": "ID_CONCEJO", "domain": null }, { "name": "id_rua", "type": "esriFieldTypeInteger", "alias": "ID_RUA", "domain": null }, { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape", "domain": null }, { "name": "st_area(shape)", "type": "esriFieldTypeDouble", "alias": "st_area(shape)", "domain": null }, { "name": "st_length(shape)", "type": "esriFieldTypeDouble", "alias": "st_length(shape)", "domain": null } ], "geometryField": { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape" }, "indexes": [ { "name": "r240_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a228_ix1", "fields": "shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "advancedQueryCapabilities": { "useStandardizedQueries": true, "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": false, "supportsQueryAnalytic": true, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": false }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "st_area(shape)", "shapeLengthFieldName": "st_length(shape)", "units": "esriMeters", "mapUnits": {"uwkid": 9001} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "ae93bec0e5d74352b4d3bb4289f5bc3e" }, { "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 57, "name": "pgo_tramitacion", "type": "Feature Layer", "description": "Se trata de una capa vectorial de polígonos que delimitan la extensión geográfica del instrumento urbanístico.La base de datos que se asocia a la información vectorial se organiza en los campos o atributos que se describen a continuación:Nombre: nombre del instrumento urbanísticoCOD_TIPO: código tipo del instrumento urbanísticoID_RUA: identificador en el inventario del registro urbanístico de AsturiasETIQUETA: ID_CONCEJO: código INE identificador del concejo (municipio)INSTRUMENT:AI_BOPA: fecha de publicación en BOPA de la Aprobación Inicial del Instrumento urbanístico (Fecha/Hora)AD_BOPA: fecha de publicación en BOPA de Aprobación Definitiva del Instrumento urbanístico (Fecha/Hora)TR_BOPA: fecha de publicación en BOPA del Texto Refundido del Instrumento Urbanístico (Fecha/Hora)", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 25830, "latestWkid": 25830, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5120900, "falseY": -9998100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "// Get the values of the date fields\nvar aiBopa = $feature.ai_bopa;\nvar adBopa = $feature.ad_bopa;\nvar trBopa = $feature.tr_bopa;\n\n// Initialize the variable to hold the output symbol class\nvar outputSymbolClass = \"\";\n\n// Check the conditions for each rule\n\n// Rule 1: DP (Documento Prioridades)\nif (IsEmpty(aiBopa)) {\n outputSymbolClass = \"DP\";\n\n// Rule 2: AI (Aprobacion inicial)\n} else if (!IsEmpty(aiBopa) && IsEmpty(adBopa) && IsEmpty(trBopa)) {\n outputSymbolClass = \"AI\";\n\n// Rule 3: AD (Aprobacion Definitiva)\n} else if (!IsEmpty(adBopa) && IsEmpty(trBopa)) {\n outputSymbolClass = \"AD\";\n}\n\n// Return the symbol class\nreturn outputSymbolClass;\n", "valueExpressionTitle": "Personalizado", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "Aprobacion inicial ", "description": "Aprobacion inicial ", "symbol": { "type": "esriSFS", "style": "esriSFSForwardDiagonal", "color": [ 11, 101, 110, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "AI" ] ] }, { "label": "Documento Prioridades", "description": "Documento Prioridades", "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 89, 146, 151, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1 } }, "values": [ [ "DP" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSForwardDiagonal", "color": [ 11, 101, 110, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "AI", "label": "Aprobacion inicial ", "description": "Aprobacion inicial " }, { "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 89, 146, 151, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 1 } }, "value": "DP", "label": "Documento Prioridades", "description": "Documento Prioridades" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 182, 255 ], "toColor": [ 252, 215, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 179, 252, 255 ], "toColor": [ 199, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 251, 252, 255 ], "toColor": [ 182, 251, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 188, 252, 179, 255 ], "toColor": [ 188, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 208, 255 ], "toColor": [ 252, 182, 208, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 192, 213, 252, 255 ], "toColor": [ 192, 213, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 232, 252, 215, 255 ], "toColor": [ 232, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 189, 250, 255 ], "toColor": [ 252, 189, 250, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 212, 219, 255 ], "toColor": [ 252, 212, 219, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 235, 252, 179, 255 ], "toColor": [ 235, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 224, 255 ], "toColor": [ 184, 252, 224, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 227, 210, 252, 255 ], "toColor": [ 227, 210, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 210, 242, 255 ], "toColor": [ 252, 210, 242, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 161284.30370000005, "ymin": 4766884.691299999, "xmax": 376926.0286999997, "ymax": 4830844.652000001, "spatialReference": { "wkid": 25830, "latestWkid": 25830, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5120900, "falseY": -9998100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "nombre", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "objectid", "domain": null }, { "name": "nombre", "type": "esriFieldTypeString", "alias": "NOMBRE", "length": 150, "domain": null }, { "name": "cod_tipo", "type": "esriFieldTypeString", "alias": "COD_TIPO", "length": 4, "domain": null }, { "name": "etiqueta", "type": "esriFieldTypeString", "alias": "Etiqueta", "length": 50, "domain": null }, { "name": "instrument", "type": "esriFieldTypeString", "alias": "Instrument", "length": 50, "domain": null }, { "name": "ai_bopa", "type": "esriFieldTypeDate", "alias": "AI_BOPA", "length": 8, "domain": null }, { "name": "ad_bopa", "type": "esriFieldTypeDate", "alias": "AD_BOPA", "length": 8, "domain": null }, { "name": "tr_bopa", "type": "esriFieldTypeDate", "alias": "TR_BOPA", "length": 8, "domain": null }, { "name": "id_concejo", "type": "esriFieldTypeInteger", "alias": "ID_CONCEJO", "domain": null }, { "name": "id_rua", "type": "esriFieldTypeInteger", "alias": "ID_RUA", "domain": null }, { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape", "domain": null }, { "name": "st_area(shape)", "type": "esriFieldTypeDouble", "alias": "st_area(shape)", "domain": null }, { "name": "st_length(shape)", "type": "esriFieldTypeDouble", "alias": "st_length(shape)", "domain": null } ], "geometryField": { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape" }, "indexes": [ { "name": "r295_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a283_ix1", "fields": "shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "advancedQueryCapabilities": { "useStandardizedQueries": true, "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": false, "supportsQueryAnalytic": true, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": false }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "st_area(shape)", "shapeLengthFieldName": "st_length(shape)", "units": "esriMeters", "mapUnits": {"uwkid": 9001} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "ae93bec0e5d74352b4d3bb4289f5bc3e" } ], "tables": [] }