ArcGIS REST Services Directory
Home
>
services
>
Const_2004_Results (FeatureServer)
>
All Layers and Tables
|
API Reference
JSON
All Layers and Tables (Const_2004_Results)
Layers:
Layer:
Const_2004_Results
(0)
Name:
Const_2004_Results
Display Field:
Type:
Feature Layer
Geometry Type:
esriGeometryPolygon
Description:
Copyright Text:
Min. Scale:
36978596
Max. Scale:
18055
Default Visibility:
true
Max Record Count:
2000
Supported query Formats:
JSON, geoJSON, PBF
Use Standardized Queries:
True
Extent:
XMin: -363502.830313637
YMin: 526776.067946214
XMax: 139652.301893994
YMax: 1253189.6925981
Spatial Reference: 102100 (3857)
Drawing Info:
{"renderer":{"visualVariables":[{"type":"transparencyInfo","valueExpression":"$feature[\"E_J__Atta_\"];\n$feature[\"J_A_Kufour\"];\nvar fieldNames = [ \"E_J__Atta_\", \"J_A_Kufour\" ];\nvar numFields = 2;\nvar maxValueField = null;\nvar maxValue = -Infinity;\nvar value, i, totalValue = null;\nfor(i = 0; i < numFields; i++) {\nvalue = $feature[fieldNames[i]];\nif(value > 0) {\nif(value > maxValue) {\nmaxValue = value;\nmaxValueField = fieldNames[i];\n}\nelse if (value == maxValue) {\nmaxValueField = null;\n}\n}\nif(value != null && value >= 0) {\nif (totalValue == null) { totalValue = 0; }\ntotalValue = totalValue + value;\n}\n}\nvar strength = null;\nif (maxValueField != null && totalValue > 0) {\nstrength = (maxValue / totalValue) * 100;\n}\nreturn strength;","stops":[{"value":50,"transparency":85},{"value":81,"transparency":0}],"legendOptions":{"title":"Strength of predominance"}},{"type":"sizeInfo","target":"outline","expression":"view.scale","valueExpression":"$view.scale","stops":[{"size":1.5,"value":597127},{"size":0.75,"value":1866023},{"size":0.375,"value":7464092},{"size":0,"value":14928184}]}],"authoringInfo":{"type":"predominance","fields":["E_J__Atta_","J_A_Kufour"],"visualVariables":[{"type":"transparencyInfo","minSliderValue":0,"maxSliderValue":100}]},"type":"uniqueValue","valueExpression":"$feature[\"E_J__Atta_\"];\n$feature[\"J_A_Kufour\"];\nvar fieldNames = [ \"E_J__Atta_\", \"J_A_Kufour\" ];\nvar numFields = 2;\nvar maxValueField = null;\nvar maxValue = -Infinity;\nvar value, i, totalValue = null;\nfor(i = 0; i < numFields; i++) {\nvalue = $feature[fieldNames[i]];\nif(value > 0) {\nif(value > maxValue) {\nmaxValue = value;\nmaxValueField = fieldNames[i];\n}\nelse if (value == maxValue) {\nmaxValueField = null;\n}\n}\n}\nreturn maxValueField;","valueExpressionTitle":"Predominant category","uniqueValueInfos":[{"value":"J_A_Kufour","symbol":{"color":[0,77,168,255],"outline":{"color":[255,255,255,131],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"John A Kuffour"},{"value":"E_J__Atta_","symbol":{"color":[56,168,0,255],"outline":{"color":[255,255,255,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"John E. A. Mills"}]},"transparency":0}
HasZ:
false
HasM:
false
Has Attachments:
false
Has Geometry Properties:
true
HTML Popup Type:
esriServerHTMLPopupTypeNone
Object ID Field:
FID
Unique ID Field:
Name : FID
IsSystemMaintained : True
Global ID Field:
Type ID Field:
Fields:
FID
(type: esriFieldTypeOID, alias: FID, SQL Type: sqlTypeInteger, length: 0, nullable: false, editable: false)
CONSTITUEN
(type: esriFieldTypeString, alias: CONSTITUEN, SQL Type: sqlTypeNVarchar, length: 50, nullable: true, editable: true)
CONS_CODE
(type: esriFieldTypeString, alias: CONS_CODE, SQL Type: sqlTypeNVarchar, length: 9, nullable: true, editable: true)
REGION
(type: esriFieldTypeString, alias: REGION, SQL Type: sqlTypeNVarchar, length: 254, nullable: true, editable: true)
Constitu_1
(type: esriFieldTypeString, alias: Constitu_1, SQL Type: sqlTypeNVarchar, length: 254, nullable: true, editable: true)
E__N__Maha
(type: esriFieldTypeDouble, alias: E__N__Maha, SQL Type: sqlTypeFloat, nullable: true, editable: true)
F4
(type: esriFieldTypeDouble, alias: F4, SQL Type: sqlTypeFloat, nullable: true, editable: true)
J_A_Kufour
(type: esriFieldTypeDouble, alias: J_A_Kufour, SQL Type: sqlTypeFloat, nullable: true, editable: true)
F6
(type: esriFieldTypeDouble, alias: F6, SQL Type: sqlTypeFloat, nullable: true, editable: true)
E_J__Atta_
(type: esriFieldTypeDouble, alias: E_J__Atta_, SQL Type: sqlTypeFloat, nullable: true, editable: true)
F8
(type: esriFieldTypeDouble, alias: F8, SQL Type: sqlTypeFloat, nullable: true, editable: true)
George_Agg
(type: esriFieldTypeDouble, alias: George_Agg, SQL Type: sqlTypeFloat, nullable: true, editable: true)
F10
(type: esriFieldTypeDouble, alias: F10, SQL Type: sqlTypeFloat, nullable: true, editable: true)
Valid
(type: esriFieldTypeDouble, alias: Valid, SQL Type: sqlTypeFloat, nullable: true, editable: true)
Rejects
(type: esriFieldTypeDouble, alias: Rejects, SQL Type: sqlTypeFloat, nullable: true, editable: true)
Total_Cast
(type: esriFieldTypeDouble, alias: Total_Cast, SQL Type: sqlTypeFloat, nullable: true, editable: true)
Reg__Voter
(type: esriFieldTypeDouble, alias: Reg__Voter, SQL Type: sqlTypeFloat, nullable: true, editable: true)
Turnout__
(type: esriFieldTypeDouble, alias: Turnout__, SQL Type: sqlTypeFloat, nullable: true, editable: true)
Shape__Area
(type: esriFieldTypeDouble, alias: Shape__Area, SQL Type: sqlTypeFloat, nullable: true, editable: false)
Shape__Length
(type: esriFieldTypeDouble, alias: Shape__Length, SQL Type: sqlTypeFloat, nullable: true, editable: false)
Templates:
Name: New Feature
Description:
Drawing Tool: esriFeatureEditToolNone
Prototype:
Attributes:
Is Data Versioned:
false
Has Contingent Values:
false
Supports Rollback On Failure Parameter:
true
Last Edit Date:
4/10/2021 9:11:10 AM
Schema Last Edit Date:
4/10/2021 9:11:10 AM
Data Last Edit Date:
4/10/2021 9:11:10 AM