{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 8, "name": "Participacion_Politica_Presidenciales_Primera_Vuelta_2022", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 4326, "latestWkid": 4326, "xyTolerance": 8.983152841195215E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 9.999999999999999E8, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var field1 = $feature['Potencial'];\nvar field2 = $feature['Votos_Validos'];\nvar hasNormField1 = false;\nvar hasNormField2 = false;\nvar normField1 = null;\nvar normField2 = null;\nif (\n IsEmpty(field1) || \n IsEmpty(field2) ||\n (hasNormField1 && (IsEmpty(normField1) || normField1 == 0)) ||\n (hasNormField2 && (IsEmpty(normField2) || normField2 == 0))\n) {\n return null; \n}\nvar value1 = IIf(hasNormField1, (field1 / normField1), field1);\nvar value2 = IIf(hasNormField2, (field2 / normField2), field2);\nvar breaks1 = [[23442,333136],[333137,1024713],[1024714,5935722]];\nvar breaks2 = [[6923,195044],[195045,607112],[607113,3689348]];\nvar classCodes = [\"L\", \"M\", \"H\"];\nfunction getClassCode(value, breaks) {\n var code = null;\n for (var i in breaks) {\n var info = breaks[i];\n if (value >= info[0] && value <= info[1]) {\n code = classCodes[i];\n break;\n }\n }\n return code;\n}\nvar code1 = getClassCode(value1, breaks1);\nvar code2 = getClassCode(value2, breaks2);\nvar classValue = IIf(IsEmpty(code1) || IsEmpty(code2), null, code1 + code2);\nreturn classValue;", "valueExpressionTitle": "Relationship", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 179, 0, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 255 ], "width": 0.7 } }, "value": "HH", "label": "High - High" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 127, 127, 127, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 255 ], "width": 0.7 } }, "value": "HM", "label": "High - Medium" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 36, 13, 94, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 255 ], "width": 0.7 } }, "value": "HL", "label": "High - Low" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 243, 89, 38, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 255 ], "width": 0.7 } }, "value": "MH", "label": "Medium - High" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 191, 191, 191, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 255 ], "width": 0.7 } }, "value": "MM", "label": "Medium - Medium" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 124, 103, 171, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 255 ], "width": 0.7 } }, "value": "ML", "label": "Medium - Low" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 204, 128, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 255 ], "width": 0.7 } }, "value": "LH", "label": "Low - High" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 230, 230, 230, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 255 ], "width": 0.7 } }, "value": "LM", "label": "Low - Medium" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 196, 179, 216, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 130, 130, 130, 255 ], "width": 0.7 } }, "value": "LL", "label": "Low - Low" } ], "fieldDelimiter": ",", "authoringInfo": { "field1": { "field": "Potencial", "label": "Potencial Electoral", "classBreakInfos": [ { "minValue": 23442, "maxValue": 333136 }, { "minValue": 333136, "maxValue": 1024713 }, { "minValue": 1024713, "maxValue": 5935722 } ] }, "field2": { "field": "Votos_Validos", "label": "Votos_Validos", "classBreakInfos": [ { "minValue": 6923, "maxValue": 195044 }, { "minValue": 195044, "maxValue": 607112 }, { "minValue": 607112, "maxValue": 3689348 } ] }, "classificationMethod": "esriClassifyQuantile", "type": "relationship", "numClasses": 3 } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -81.73562055599996, "ymin": -4.2294064659999435, "xmax": -66.84721542699998, "ymax": 13.394727762000059, "spatialReference": { "wkid": 4326, "latestWkid": 4326, "xyTolerance": 8.983152841195215E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 9.999999999999999E8, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "nombreDepartamento", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "nombreDepartamento", "type": "esriFieldTypeString", "alias": "nombreDepartamento", "length": 80, "domain": null }, { "name": "Votos_Validos", "type": "esriFieldTypeInteger", "alias": "Votos_Validos", "domain": null }, { "name": "Votos_Blancos", "type": "esriFieldTypeInteger", "alias": "Votos_Blancos", "domain": null }, { "name": "Votos_Nulos", "type": "esriFieldTypeInteger", "alias": "Votos_Nulos", "domain": null }, { "name": "Votos_No_Marcados", "type": "esriFieldTypeInteger", "alias": "Votos_No_Marcados", "domain": null }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length", "domain": null }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area", "domain": null }, { "name": "Potencial", "type": "esriFieldTypeInteger", "alias": "Potencial Electoral", "domain": null }, { "name": "Abstencion", "type": "esriFieldTypeInteger", "alias": "Abstención Pólitica", "domain": null }, { "name": "PorcentajePotencial", "type": "esriFieldTypeDouble", "alias": "Porcentaje Potencial", "domain": null }, { "name": "PorcentajeValidos", "type": "esriFieldTypeDouble", "alias": "Porcentaje Validos", "domain": null }, { "name": "PorcentajeAbstencion", "type": "esriFieldTypeDouble", "alias": "Porcentaje Abstención", "domain": null }, { "name": "VotosNormales", "type": "esriFieldTypeInteger", "alias": "Votos Normales", "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": "" } ], "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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": false }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "Shape_Area", "shapeLengthFieldName": "Shape_Length", "units": "esriDecimalDegrees", "mapUnits": {"uwkid": 9102} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": false }