ArcGIS REST Services Directory
Home
>
services
>
General_Election_Boundaries (FeatureServer)
>
All Layers and Tables
|
API Reference
JSON
All Layers and Tables (General_Election_Boundaries)
Layers:
Layer:
General Election Boundaries
(0)
Name:
General Election Boundaries
Display Field:
name
Type:
Feature Layer
Geometry Type:
esriGeometryPolygon
Has Views:
true
Source Schema Changes Allowed:
true
Description:
Test2
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: -20037507.0671618
YMin: -6080524.93043693
XMax: 20037507.0671618
YMax: -3969870.54802345
Spatial Reference: 102100 (3857)
Drawing Info:
{"renderer":{"visualVariables":[{"type":"sizeInfo","target":"outline","expression":"view.scale","valueExpression":"$view.scale","stops":[{"size":1.5,"value":3460336},{"size":0.75,"value":10813549},{"size":0.375,"value":43254195},{"size":0,"value":86508389}]}],"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 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":"MostVotes","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":[9,9,9,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"}]},"transparency":35}
HasZ:
false
HasM:
false
Has Attachments:
false
Has Geometry Properties:
true
HTML Popup Type:
esriServerHTMLPopupTypeAsHTMLText
Object ID Field:
OBJECTID
Unique ID Field:
Name : OBJECTID
IsSystemMaintained : True
Global ID Field:
GlobalID
Type ID Field:
Fields:
OBJECTID
(type: esriFieldTypeOID, alias: OBJECTID, 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)
party28votes
(type: esriFieldTypeInteger, alias: party28votes, SQL Type: sqlTypeOther, nullable: true, editable: true)
partyothervotes
(type: esriFieldTypeInteger, alias: partyothervotes, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidates
(type: esriFieldTypeInteger, alias: candidates, SQL Type: sqlTypeOther, nullable: true, editable: true)
candidatesvotes
(type: esriFieldTypeInteger, alias: candidatesvotes, 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)
totalregisteredparties
(type: esriFieldTypeInteger, alias: totalregisteredparties, SQL Type: sqlTypeOther, nullable: true, editable: true)
totalcandidates
(type: esriFieldTypeInteger, alias: totalcandidates, 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)
ecode
(type: esriFieldTypeInteger, alias: Code, 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:
12/8/2017 3:20:14 AM
Schema Last Edit Date:
12/8/2017 3:20:14 AM
Data Last Edit Date:
12/8/2017 3:20:14 AM