ArcGIS REST Services Directory
Home
>
services
>
General_Election_Boundaries_Party_View (FeatureServer)
>
All Layers and Tables
|
API Reference
JSON
All Layers and Tables (General_Election_Boundaries_Party_View)
Layers:
Layer:
General
(0)
Name:
General
Display Field:
name
Type:
Feature Layer
Geometry Type:
esriGeometryPolygon
Is View:
true
Is Updatable View:
true
Source Schema Changes Allowed:
true
Description:
geodata.GEO.FINAL
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: -19743391.3427
YMin: -6061042.7691
XMax: 19907940.5699
YMax: -4023230.75
Spatial Reference: 102100 (3857)
Drawing Info:
{"renderer":{"visualVariables":[{"type":"sizeInfo","target":"outline","expression":"view.scale","valueExpression":"$view.scale","stops":[{"size":1.5,"value":1368225},{"size":0.75,"value":4275703},{"size":0.375,"value":17102813},{"size":0,"value":34205625}]}],"type":"uniqueValue","valueExpression":"\nvar labour = $feature.party5votes\nvar national = $feature.party6votes\nvar maori = $feature.party10votes\nvar nzf = $feature.party7votes\nvar gp = $feature.party4votes\nvar act = $feature.party1votes\nvar uf = $feature.party9votes\nvar topp = $feature.party28votes\nvar list = [labour, national, maori, nzf, gp, act, uf, topp]\nif(Sum(list)==0){\n return \"Votes Not Yet Counted\"\n}\nvar maxvotes = Max(national,act,labour,nzf,gp, maori, uf, topp)\nvar mostvotes = When( labour == maxvotes, 'Labour', national == maxvotes, 'National', nzf == maxvotes, 'NZ First', act == maxvotes, 'ACT', gp == maxvotes, 'Green Party', maori == maxvotes, 'Māori', uf == maxvotes, 'United Future',topp == maxvotes, 'TOP', 'Other');\nreturn mostvotes","valueExpressionTitle":"Party Vote","defaultSymbol":null,"uniqueValueInfos":[{"value":"ACT","symbol":{"color":[255,216,0,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"ACT"},{"value":"Green Party","symbol":{"color":[3,193,10,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"Green Party"},{"value":"Labour","symbol":{"color":[232,0,0,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"Labour"},{"value":"Māori","symbol":{"color":[206,88,88,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"Māori"},{"value":"National","symbol":{"color":[4,95,242,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"National"},{"value":"NZ First","symbol":{"color":[31,14,38,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"NZ First"},{"value":"TOP","symbol":{"color":[41,45,117,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"TOP"},{"value":"United Future","symbol":{"color":[110,0,255,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"United Future"},{"value":"Votes Not Yet Counted","symbol":{"color":[255,255,255,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"Votes Not Yet Counted"}]},"transparency":29}
HasZ:
false
HasM:
false
Has Attachments:
false
Has Geometry Properties:
true
HTML Popup Type:
esriServerHTMLPopupTypeAsHTMLText
Object ID Field:
ecode
Unique ID Field:
Name : ecode
IsSystemMaintained : True
Global ID Field:
GlobalID
Type ID Field:
Fields:
ecode
(type: esriFieldTypeOID, alias: ecode, SQL Type: sqlTypeOther, length: 0, nullable: false, editable: false)
name
(type: esriFieldTypeString, alias: name, SQL Type: sqlTypeOther, length: 30, nullable: true, editable: true)
Source_url
(type: esriFieldTypeString, alias: Source_url, SQL Type: sqlTypeOther, length: 256, nullable: true, editable: true)
party1votes
(type: esriFieldTypeInteger, alias: party1votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
party4votes
(type: esriFieldTypeInteger, alias: party4votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
party5votes
(type: esriFieldTypeInteger, alias: party5votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
party6votes
(type: esriFieldTypeInteger, alias: party6votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
party7votes
(type: esriFieldTypeInteger, alias: party7votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
party9votes
(type: esriFieldTypeInteger, alias: party9votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
party10votes
(type: esriFieldTypeInteger, alias: party10votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
party11votes
(type: esriFieldTypeInteger, alias: party11votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
party28votes
(type: esriFieldTypeInteger, alias: party28votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
partyothervotes
(type: esriFieldTypeInteger, alias: partyothervotes, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidate1name
(type: esriFieldTypeString, alias: candidate1name, SQL Type: sqlTypeOther, length: 256, nullable: true, editable: true)
candidate1votes
(type: esriFieldTypeInteger, alias: candidate1votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidate4name
(type: esriFieldTypeString, alias: candidate4name, SQL Type: sqlTypeOther, length: 255, nullable: true, editable: true)
candidate4votes
(type: esriFieldTypeInteger, alias: candidate4votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidate5name
(type: esriFieldTypeString, alias: candidate5name, SQL Type: sqlTypeOther, length: 255, nullable: true, editable: true)
candidate5votes
(type: esriFieldTypeInteger, alias: candidate5votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidate6name
(type: esriFieldTypeString, alias: candidate6name, SQL Type: sqlTypeOther, length: 255, nullable: true, editable: true)
candidate6votes
(type: esriFieldTypeInteger, alias: candidate6votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidate7name
(type: esriFieldTypeString, alias: candidate7name, SQL Type: sqlTypeOther, length: 255, nullable: true, editable: true)
candidate7votes
(type: esriFieldTypeInteger, alias: candidate7votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidate9name
(type: esriFieldTypeString, alias: candidate9name, SQL Type: sqlTypeOther, length: 255, nullable: true, editable: true)
candidate9votes
(type: esriFieldTypeInteger, alias: candidate9votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidate10name
(type: esriFieldTypeString, alias: candidate10name, SQL Type: sqlTypeOther, length: 255, nullable: true, editable: true)
candidate10votes
(type: esriFieldTypeInteger, alias: candidate10votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidate11name
(type: esriFieldTypeString, alias: candidate11name, SQL Type: sqlTypeOther, length: 255, nullable: true, editable: true)
candidate11votes
(type: esriFieldTypeInteger, alias: candidate11votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidate28name
(type: esriFieldTypeString, alias: candidate28name, SQL Type: sqlTypeOther, length: 255, nullable: true, editable: true)
candidate28votes
(type: esriFieldTypeInteger, alias: candidate28votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
totalregisteredparties
(type: esriFieldTypeInteger, alias: totalregisteredparties, SQL Type: sqlTypeOther, nullable: true, editable: true)
totalcandidates
(type: esriFieldTypeInteger, alias: totalcandidates, SQL Type: sqlTypeOther, nullable: true, editable: true)
totalvotingplacescounted
(type: esriFieldTypeInteger, alias: totalvotingplacescounted, SQL Type: sqlTypeOther, nullable: true, editable: true)
percentvotingplacescounted
(type: esriFieldTypeInteger, alias: percentvotingplacescounted, SQL Type: sqlTypeOther, nullable: true, editable: true)
totalvotescast
(type: esriFieldTypeInteger, alias: totalvotescast, SQL Type: sqlTypeOther, nullable: true, editable: true)
percentvotescast
(type: esriFieldTypeInteger, alias: percentvotescast, SQL Type: sqlTypeOther, nullable: true, editable: true)
totalpartyinformals
(type: esriFieldTypeInteger, alias: totalpartyinformals, SQL Type: sqlTypeOther, nullable: true, editable: true)
totalcandidateinformals
(type: esriFieldTypeInteger, alias: totalcandidateinformals, 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)
GlobalID
(type: esriFieldTypeGlobalID, alias: GlobalID, SQL Type: sqlTypeOther, length: 38, nullable: false, editable: false)
CreationDate
(type: esriFieldTypeDate, alias: CreationDate, SQL Type: sqlTypeOther, length: 8, nullable: true, editable: false)
Creator
(type: esriFieldTypeString, alias: Creator, SQL Type: sqlTypeOther, length: 50, nullable: true, editable: false)
EditDate
(type: esriFieldTypeDate, alias: EditDate, SQL Type: sqlTypeOther, length: 8, nullable: true, editable: false)
Editor
(type: esriFieldTypeString, alias: Editor, SQL Type: sqlTypeOther, length: 50, nullable: true, editable: false)
candidateothername
(type: esriFieldTypeString, alias: candidateothername, SQL Type: sqlTypeOther, length: 2000, nullable: true, editable: true)
candidateothervotes
(type: esriFieldTypeInteger, alias: candidateothervotes, SQL Type: sqlTypeOther, nullable: true, editable: true)
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:
10/7/2017 1:51:55 AM
Schema Last Edit Date:
10/7/2017 1:51:55 AM
Data Last Edit Date:
10/7/2017 1:51:55 AM