Name: UK_General_Election_Results_2019_Geographic
Display Field: ons_id
Type: Feature Layer
Geometry Type: esriGeometryPolygon
Description:
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: -1038730.20990016
YMin: 6414126.47396734
XMax: 300340.888137948
YMax: 8595144.97695548
Spatial Reference: 102100 (3857)
Drawing Info:
{"renderer":{"authoringInfo":{"field1":{"field":"Conservative_Share","label":"Conservative_Share","classBreakInfos":[{"minValue":0,"maxValue":35},{"minValue":35,"maxValue":55},{"minValue":55,"maxValue":77}]},"field2":{"field":"Labour_Share","label":"Labour_Share","classBreakInfos":[{"minValue":0,"maxValue":20},{"minValue":20,"maxValue":39},{"minValue":39,"maxValue":85}]},"classificationMethod":"esriClassifyQuantile","type":"relationship","numClasses":3},"type":"uniqueValue","fieldDelimiter":",","valueExpression":"var field1 = $feature['Conservative_Share'];\nvar field2 = $feature['Labour_Share'];\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 = [[0,35],[36,55],[56,77]];\nvar breaks2 = [[0,20],[21,39],[40,85]];\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":{"color":[3,13,9,255],"outline":{"color":[130,130,130,255],"width":0.7,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"value":"HH","label":"High - High"},{"symbol":{"color":[3,70,115,255],"outline":{"color":[130,130,130,255],"width":0.7,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"value":"HM","label":"High - Medium"},{"symbol":{"color":[3,106,182,255],"outline":{"color":[130,130,130,255],"width":0.7,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"value":"HL","label":"High - Low"},{"symbol":{"color":[114,20,10,255],"outline":{"color":[130,130,130,255],"width":0.7,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"value":"MH","label":"Medium - High"},{"symbol":{"color":[113,106,125,255],"outline":{"color":[130,130,130,255],"width":0.7,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"value":"MM","label":"Medium - Medium"},{"symbol":{"color":[112,161,197,255],"outline":{"color":[130,130,130,255],"width":0.7,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"value":"ML","label":"Medium - Low"},{"symbol":{"color":[215,26,11,255],"outline":{"color":[130,130,130,255],"width":0.7,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"value":"LH","label":"Low - High"},{"symbol":{"color":[213,139,134,255],"outline":{"color":[130,130,130,255],"width":0.7,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"value":"LM","label":"Low - Medium"},{"symbol":{"color":[211,211,211,255],"outline":{"color":[130,130,130,255],"width":0.7,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"value":"LL","label":"Low - Low"}]},"transparency":0}
HasZ: false
HasM: false
Has Attachments: false
Has Geometry Properties: true
HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText
Object ID Field: FID
Unique ID Field:
IsSystemMaintained : True
Global ID Field:
Type ID Field: first_part
Fields:
- FID (type: esriFieldTypeOID, alias: FID, SQL Type: sqlTypeOther, length: 0, nullable: false, editable: false)
- ons_id (type: esriFieldTypeString, alias: ons_id, SQL Type: sqlTypeOther, length: 254, nullable: true, editable: true)
- constituen (type: esriFieldTypeString, alias: constituen, SQL Type: sqlTypeOther, length: 254, nullable: true, editable: true)
- result (type: esriFieldTypeString, alias: result, SQL Type: sqlTypeOther, length: 254, nullable: true, editable: true)
- first_part (type: esriFieldTypeString, alias: first_part, SQL Type: sqlTypeOther, length: 254, nullable: true, editable: true)
- electorate (type: esriFieldTypeInteger, alias: electorate, SQL Type: sqlTypeOther, nullable: true, editable: true)
- valid_vote (type: esriFieldTypeInteger, alias: valid_vote, SQL Type: sqlTypeOther, nullable: true, editable: true)
- majority (type: esriFieldTypeInteger, alias: majority, SQL Type: sqlTypeOther, nullable: true, editable: true)
- con (type: esriFieldTypeInteger, alias: con, SQL Type: sqlTypeOther, nullable: true, editable: true)
- lab (type: esriFieldTypeInteger, alias: lab, SQL Type: sqlTypeOther, nullable: true, editable: true)
- ld (type: esriFieldTypeInteger, alias: ld, SQL Type: sqlTypeOther, nullable: true, editable: true)
- ukip (type: esriFieldTypeInteger, alias: ukip, SQL Type: sqlTypeOther, nullable: true, editable: true)
- green (type: esriFieldTypeInteger, alias: green, SQL Type: sqlTypeOther, nullable: true, editable: true)
- snp (type: esriFieldTypeInteger, alias: snp, SQL Type: sqlTypeOther, nullable: true, editable: true)
- brex (type: esriFieldTypeInteger, alias: brex, SQL Type: sqlTypeOther, nullable: true, editable: true)
- pc (type: esriFieldTypeInteger, alias: pc, SQL Type: sqlTypeOther, nullable: true, editable: true)
- dup (type: esriFieldTypeInteger, alias: dup, SQL Type: sqlTypeOther, nullable: true, editable: true)
- sf (type: esriFieldTypeInteger, alias: sf, SQL Type: sqlTypeOther, nullable: true, editable: true)
- sdlp (type: esriFieldTypeInteger, alias: sdlp, SQL Type: sqlTypeOther, nullable: true, editable: true)
- uup (type: esriFieldTypeInteger, alias: uup, SQL Type: sqlTypeOther, nullable: true, editable: true)
- alliance (type: esriFieldTypeInteger, alias: alliance, SQL Type: sqlTypeOther, nullable: true, editable: true)
- Shape__Are (type: esriFieldTypeDouble, alias: Shape__Are, SQL Type: sqlTypeOther, nullable: true, editable: true)
- Shape__Len (type: esriFieldTypeDouble, alias: Shape__Len, SQL Type: sqlTypeOther, 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)
- Percent_TO (type: esriFieldTypeSmallInteger, alias: Percent_TO, SQL Type: sqlTypeOther, nullable: true, editable: true)
- Labour_Share (type: esriFieldTypeSmallInteger, alias: Labour_Share, SQL Type: sqlTypeOther, nullable: true, editable: true)
- Conservative_Share (type: esriFieldTypeSmallInteger, alias: Conservative_Share, SQL Type: sqlTypeOther, nullable: true, editable: true)
- SNP_Share (type: esriFieldTypeSmallInteger, alias: SNP_Share, SQL Type: sqlTypeOther, nullable: true, editable: true)
Types:
ID: Alliance
Name: Alliance
Domains:
Templates:
Name: Alliance
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
ID: Conservative
Name: Conservative
Domains:
Templates:
Name: Conservative
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
ID: Democratic Unionist Party
Name: Democratic Unionist Party
Domains:
Templates:
Name: Democratic Unionist Party
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
Attributes:
- first_part: Democratic Unionist Party
ID: Green
Name: Green
Domains:
Templates:
Name: Green
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
ID: Labour
Name: Labour
Domains:
Templates:
Name: Labour
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
ID: Labour and Co-operative
Name: Labour and Co-operative
Domains:
Templates:
Name: Labour and Co-operative
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
Attributes:
- first_part: Labour and Co-operative
ID: Liberal Democrat
Name: Liberal Democrat
Domains:
Templates:
Name: Liberal Democrat
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
Attributes:
- first_part: Liberal Democrat
ID: Plaid Cymru
Name: Plaid Cymru
Domains:
Templates:
Name: Plaid Cymru
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
ID: Scottish National Party
Name: Scottish National Party
Domains:
Templates:
Name: Scottish National Party
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
Attributes:
- first_part: Scottish National Party
ID: Sinn Fein
Name: Sinn Fein
Domains:
Templates:
Name: Sinn Fein
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
ID: Social Democratic and Labour Party
Name: Social Democratic and Labour Party
Domains:
Templates:
Name: Social Democratic and Labour Party
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
Attributes:
- first_part: Social Democratic and Labour Party
ID: The Speaker
Name: The Speaker
Domains:
Templates:
Name: The Speaker
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
Is Data Versioned: false
Has Contingent Values: false
Supports Rollback On Failure Parameter: true
Last Edit Date: 5/1/2022 8:44:27 PM
Schema Last Edit Date: 5/1/2022 8:44:27 PM
Data Last Edit Date: 5/1/2022 8:44:27 PM
Supported Operations:
Query
Query Pivot
Query Top Features
Query Analytic
Query Bins
Generate Renderer
Validate SQL
Get Estimates
ConvertFormat