Name: EleccionesAutómicasGalicia2016
Display Field: codine
Type: Feature Layer
Geometry Type: esriGeometryPolygon
Description: EleccionesAutómicasGalicia2016
Copyright Text:
Min. Scale: 0
Max. Scale: 0
Default Visibility: true
Max Record Count: 2000
Supported query Formats: JSON, geoJSON, PBF
Use Standardized Queries: True
Extent:
XMin: -1035439.2444
YMin: 5132147.4858
XMax: -749620.249000002
YMax: 5433368.4591
Spatial Reference: 102100 (3857)
Drawing Info:
{"renderer":{"visualVariables":[{"type":"transparencyInfo","valueExpression":"// Escribe una secuencia de comandos que devuelve un valor que se utilizará para dibujar entidades.\n// Por ejemplo, buscar el porcentaje de hombres:\n// Round(($feature.MalePop / $feature.TotalPop) * 100, 2)\n\nvar groups = [\n$feature[\"PARTIDO_COMUNISTA_DOS_POBOS_DE_\"],\n$feature[\"A_I_D_G__ALTERNATIVA_INDEPENDEN\"],\n$feature[\"C_21__CONVERXENCIA_21_\"],\n$feature[\"C_s__CIUDADANOS___PARTIDO_DE_LA\"],\n$feature[\"ADCG__ACCIÓN_DEMOCRÁTICA_CIUDAD\"],\n$feature[\"VN__VÍA_NOVA_GALICIA_\"],\n$feature[\"BNG_NÓS__BNG_NÓS_CANDIDATURA_GA\"],\n$feature[\"PP__PARTIDO_POPULAR_\"],\n$feature[\"PACMA__PARTIDO_ANIMALISTA_CONTR\"],\n$feature[\"PSdeG___PSOE__PARTIDO_DOS_SOCIA\"],\n$feature[\"RECORTES_CERO_GRUPO_VERDE\"],\n$feature[\"PAYJ__PARTIDO_ANTICORRUPCIÓN_Y_\"],\n$feature[\"C_C__CIDADÁNS_CEMTRUM_\"],\n$feature[\"CxG__COMPROMISO_POR_GALICIA_\"],\n$feature[\"UNIDOS_SI_DEF__UNIDOS_POR_EL_FU\"],\n$feature[\"P_LIB__PARTIDO_LIBERTARIO_\"],\n$feature[\"EN_MAREA\"],\n$feature[\"GAÑEMOS\"],\n$feature[\"DO__DEMOCRACIA_OURENSANA_\"],\n$feature[\"EB__ESCANOS_EN_BRANCO_\"]\n];\n\n\nvar winner = Max(groups);\nvar total = $feature.CENSO;\nreturn (winner/total) * 100;\n","valueExpressionTitle":"Grado de predominancia","stops":[{"value":29,"transparency":70},{"value":44,"transparency":0}]},{"type":"sizeInfo","target":"outline","expression":"view.scale","valueExpression":"$view.scale","stops":[{"size":1.5,"value":268703},{"size":0.75,"value":839698},{"size":0.375,"value":3358792},{"size":0,"value":6717583}]}],"authoringInfo":{"visualVariables":[{"type":"transparencyInfo","minSliderValue":20.442722744881017,"maxSliderValue":63.943161634103021}]},"type":"uniqueValue","field1":null,"valueExpression":"// Escribe una secuencia de comandos que devuelve un valor que se utilizará para dibujar entidades.\n// Por ejemplo, buscar el porcentaje de hombres:\n// Round(($feature.MalePop / $feature.TotalPop) * 100, 2)\n\n\nvar groups = [\n{value: $feature[\"PARTIDO_COMUNISTA_DOS_POBOS_DE_\"], alias:\"PARTIDO COMUNISTA DOS POBOS DE ESPAÑA - COMUNISTAS DA GALIZA\"},\n{value: $feature[\"A_I_D_G__ALTERNATIVA_INDEPENDEN\"], alias:\"A.I.D.G (ALTERNATIVA INDEPENDENTE DE GALICIA)\"},\n{value: $feature[\"C_21__CONVERXENCIA_21_\"], alias:\"C 21 (CONVERXENCIA 21)\"},\n{value: $feature[\"C_s__CIUDADANOS___PARTIDO_DE_LA\"], alias:\"C's (CIUDADANOS - PARTIDO DE LA CIUDADANÍA)\"},\n{value: $feature[\"ADCG__ACCIÓN_DEMOCRÁTICA_CIUDAD\"], alias:\"ADCG (ACCIÓN DEMOCRÁTICA CIUDADANOS DE GALICIA)\"},\n{value: $feature[\"VN__VÍA_NOVA_GALICIA_\"], alias:\"VN (VÍA NOVA GALICIA)\"},\n{value: $feature[\"BNG_NÓS__BNG_NÓS_CANDIDATURA_GA\"], alias:\"BNG-NÓS (BNG-NÓS CANDIDATURA GALEGA)\"},\n{value: $feature[\"PP__PARTIDO_POPULAR_\"], alias:\"PP (PARTIDO POPULAR)\"},\n{value: $feature[\"PACMA__PARTIDO_ANIMALISTA_CONTR\"], alias:\"PACMA (PARTIDO ANIMALISTA CONTRA O MALTRATO ANIMAL)\"},\n{value: $feature[\"PSdeG___PSOE__PARTIDO_DOS_SOCIA\"], alias:\"PSdeG - PSOE (PARTIDO DOS SOCIALISTAS DE GALICIA -PSOE)\"},\n{value: $feature[\"RECORTES_CERO_GRUPO_VERDE\"], alias:\"RECORTES CERO-GRUPO VERDE\"},\n{value: $feature[\"PAYJ__PARTIDO_ANTICORRUPCIÓN_Y_\"], alias:\"PAYJ (PARTIDO ANTICORRUPCIÓN Y JUSTICIA)\"},\n{value: $feature[\"C_C__CIDADÁNS_CEMTRUM_\"], alias:\"C-C (CIDADÁNS-CEMTRUM)\"},\n{value: $feature[\"CxG__COMPROMISO_POR_GALICIA_\"], alias:\"CxG (COMPROMISO POR GALICIA)\"},\n{value: $feature[\"UNIDOS_SI_DEF__UNIDOS_POR_EL_FU\"], alias:\"UNIDOS SI-DEF (UNIDOS POR EL FUTURO)\"},\n{value: $feature[\"P_LIB__PARTIDO_LIBERTARIO_\"], alias:\"P-LIB (PARTIDO LIBERTARIO)\"},\n{value: $feature[\"EN_MAREA\"], alias:\"EN MAREA\"},\n{value: $feature[\"GAÑEMOS\"], alias:\"GAÑEMOS\"},\n{value: $feature[\"DO__DEMOCRACIA_OURENSANA_\"], alias:\"DO (DEMOCRACIA OURENSANA)\"},\n{value: $feature[\"EB__ESCANOS_EN_BRANCO_\"], alias:\"EB (ESCANOS EN BRANCO)\"}\n];\n\nfunction getPredominantCategory(fieldsArray){\n var maxValue = -Infinity;\n var maxCategory = \"\";\n for(var k in fieldsArray){\n if(fieldsArray[k].value > maxValue){\n maxValue = fieldsArray[k].value;\n maxCategory = fieldsArray[k].alias;\n } else if (fieldsArray[k].value == maxValue){\n maxCategory = maxCategory + \"/\" + fieldsArray[k].alias;\n }\n }\n return IIF(maxValue <= 0, null, maxCategory);\n}\n\ngetPredominantCategory(groups);","valueExpressionTitle":"Partido más votado","defaultSymbol":{"color":[170,170,170,255],"outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"defaultLabel":"Otro","uniqueValueInfos":[{"value":"PP (PARTIDO POPULAR)","symbol":{"color":[0,112,255,255],"outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"PP (PARTIDO POPULAR)"},{"value":"PSdeG - PSOE (PARTIDO DOS SOCIALISTAS DE GALICIA -PSOE)","symbol":{"color":[255,0,0,255],"outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"PSdeG - PSOE (PARTIDO DOS SOCIALISTAS DE GALICIA -PSOE)"},{"value":"EN MAREA","symbol":{"color":[76,230,0,255],"outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"EN MAREA"}]},"transparency":0}
HasZ: false
HasM: false
Has Attachments: false
Has Geometry Properties: true
HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText
Object ID Field: OBJECTID
Unique ID Field:
IsSystemMaintained : True
Global ID Field:
Type ID Field:
Fields:
- OBJECTID (type: esriFieldTypeOID, alias: OBJECTID, SQL Type: sqlTypeOther, length: 0, nullable: false, editable: false)
- codine (type: esriFieldTypeString, alias: codine, SQL Type: sqlTypeOther, length: 5, nullable: true, editable: true)
- CÓD__PROVINCIA (type: esriFieldTypeInteger, alias: CÓD. PROVINCIA , SQL Type: sqlTypeOther, nullable: true, editable: true)
- MUNICIPIO (type: esriFieldTypeString, alias: MUNICIPIO , SQL Type: sqlTypeOther, length: 255, nullable: true, editable: true)
- CENSO (type: esriFieldTypeInteger, alias: CENSO , SQL Type: sqlTypeOther, nullable: true, editable: true)
- TOTAL_VOTOS (type: esriFieldTypeInteger, alias: TOTAL VOTOS , SQL Type: sqlTypeOther, nullable: true, editable: true)
- TOTAL_ABSTENCIÓN (type: esriFieldTypeInteger, alias: TOTAL ABSTENCIÓN , SQL Type: sqlTypeOther, nullable: true, editable: true)
- VOTOS_EN_BRANCO (type: esriFieldTypeInteger, alias: VOTOS EN BRANCO , SQL Type: sqlTypeOther, nullable: true, editable: true)
- VOTOS_NULOS (type: esriFieldTypeInteger, alias: VOTOS NULOS , SQL Type: sqlTypeOther, nullable: true, editable: true)
- VOTOS_A_CANDIDATURAS (type: esriFieldTypeInteger, alias: VOTOS A CANDIDATURAS, SQL Type: sqlTypeOther, nullable: true, editable: true)
- VOTOS_VÁLIDOS (type: esriFieldTypeInteger, alias: VOTOS VÁLIDOS , SQL Type: sqlTypeOther, nullable: true, editable: true)
- PARTIDO_COMUNISTA_DOS_POBOS_DE_ (type: esriFieldTypeInteger, alias: PARTIDO COMUNISTA DOS POBOS DE ESPAÑA - COMUNISTAS DA GALIZA, SQL Type: sqlTypeOther, nullable: true, editable: true)
- A_I_D_G__ALTERNATIVA_INDEPENDEN (type: esriFieldTypeInteger, alias: A.I.D.G (ALTERNATIVA INDEPENDENTE DE GALICIA), SQL Type: sqlTypeOther, nullable: true, editable: true)
- C_21__CONVERXENCIA_21_ (type: esriFieldTypeInteger, alias: C 21 (CONVERXENCIA 21), SQL Type: sqlTypeOther, nullable: true, editable: true)
- C_s__CIUDADANOS___PARTIDO_DE_LA (type: esriFieldTypeInteger, alias: C's (CIUDADANOS - PARTIDO DE LA CIUDADANÍA), SQL Type: sqlTypeOther, nullable: true, editable: true)
- ADCG__ACCIÓN_DEMOCRÁTICA_CIUDAD (type: esriFieldTypeInteger, alias: ADCG (ACCIÓN DEMOCRÁTICA CIUDADANOS DE GALICIA), SQL Type: sqlTypeOther, nullable: true, editable: true)
- VN__VÍA_NOVA_GALICIA_ (type: esriFieldTypeInteger, alias: VN (VÍA NOVA GALICIA), SQL Type: sqlTypeOther, nullable: true, editable: true)
- BNG_NÓS__BNG_NÓS_CANDIDATURA_GA (type: esriFieldTypeInteger, alias: BNG-NÓS (BNG-NÓS CANDIDATURA GALEGA), SQL Type: sqlTypeOther, nullable: true, editable: true)
- PP__PARTIDO_POPULAR_ (type: esriFieldTypeInteger, alias: PP (PARTIDO POPULAR), SQL Type: sqlTypeOther, nullable: true, editable: true)
- PACMA__PARTIDO_ANIMALISTA_CONTR (type: esriFieldTypeInteger, alias: PACMA (PARTIDO ANIMALISTA CONTRA O MALTRATO ANIMAL), SQL Type: sqlTypeOther, nullable: true, editable: true)
- PSdeG___PSOE__PARTIDO_DOS_SOCIA (type: esriFieldTypeInteger, alias: PSdeG - PSOE (PARTIDO DOS SOCIALISTAS DE GALICIA -PSOE), SQL Type: sqlTypeOther, nullable: true, editable: true)
- RECORTES_CERO_GRUPO_VERDE (type: esriFieldTypeInteger, alias: RECORTES CERO-GRUPO VERDE, SQL Type: sqlTypeOther, nullable: true, editable: true)
- PAYJ__PARTIDO_ANTICORRUPCIÓN_Y_ (type: esriFieldTypeInteger, alias: PAYJ (PARTIDO ANTICORRUPCIÓN Y JUSTICIA), SQL Type: sqlTypeOther, nullable: true, editable: true)
- C_C__CIDADÁNS_CEMTRUM_ (type: esriFieldTypeInteger, alias: C-C (CIDADÁNS-CEMTRUM), SQL Type: sqlTypeOther, nullable: true, editable: true)
- CxG__COMPROMISO_POR_GALICIA_ (type: esriFieldTypeInteger, alias: CxG (COMPROMISO POR GALICIA), SQL Type: sqlTypeOther, nullable: true, editable: true)
- UNIDOS_SI_DEF__UNIDOS_POR_EL_FU (type: esriFieldTypeInteger, alias: UNIDOS SI-DEF (UNIDOS POR EL FUTURO), SQL Type: sqlTypeOther, nullable: true, editable: true)
- P_LIB__PARTIDO_LIBERTARIO_ (type: esriFieldTypeInteger, alias: P-LIB (PARTIDO LIBERTARIO), SQL Type: sqlTypeOther, nullable: true, editable: true)
- EN_MAREA (type: esriFieldTypeInteger, alias: EN MAREA, SQL Type: sqlTypeOther, nullable: true, editable: true)
- GAÑEMOS (type: esriFieldTypeInteger, alias: GAÑEMOS, SQL Type: sqlTypeOther, nullable: true, editable: true)
- DO__DEMOCRACIA_OURENSANA_ (type: esriFieldTypeInteger, alias: DO (DEMOCRACIA OURENSANA), SQL Type: sqlTypeOther, nullable: true, editable: true)
- EB__ESCANOS_EN_BRANCO_ (type: esriFieldTypeInteger, alias: EB (ESCANOS EN BRANCO), SQL Type: sqlTypeOther, nullable: true, editable: true)
- fecha (type: esriFieldTypeDate, alias: fecha, SQL Type: sqlTypeOther, length: 8, nullable: true, editable: true)
- Shape__Area (type: esriFieldTypeDouble, alias: Shape__Area, SQL Type: sqlTypeDouble, nullable: true, editable: false)
- Shape__Length (type: esriFieldTypeDouble, alias: Shape__Length, SQL Type: sqlTypeDouble, nullable: true, editable: false)
Templates:
Name: Nueva entidad
Description:
Drawing Tool: esriFeatureEditToolNone
Prototype:
Is Data Versioned: false
Has Contingent Values: false
Supports Rollback On Failure Parameter: true
Last Edit Date: 4/23/2019 11:18:27 AM
Schema Last Edit Date: 4/23/2019 11:18:27 AM
Data Last Edit Date: 4/23/2019 11:18:27 AM
Supported Operations:
Query
Query Top Features
Query Analytic
Query Bins
Generate Renderer
Validate SQL
Get Estimates
ConvertFormat