Name: PostcodeDistrict
Display Field: district
Type: Feature Layer
Geometry Type: esriGeometryPolygon
Description: Postcode district boundaries are created and maintained by National Records of Scotland (NRS). Postcode districts are represented by the outward code (first part of a postcode). For example, if the individual postcode is EH12 7TB, then the district of that postcode is EH12. Postcodes that fall within the same district are dissolved to create postcode district boundaries. NRS publish these boundaries twice a year as part of the Scottish Postcode Directory (SPD) which should be considered the definitive source for postcode geographies in Scotland.
Copyright Text: © National Records of Scotland, contains Ordnance Survey data © Crown copyright and database right 2026.
Default Visibility: true
MaxRecordCount: 2000
MaxSelectionCount: 2000
Supported Query Formats: JSON, geoJSON, PBF
Min Scale: 0.0
Max Scale: 0.0
Supports Advanced Queries: true
Supports Statistics: true
Has Labels: true
Can Modify Layer: true
Can Scale Symbols: false
Use Standardized Queries: true
Supports Datum Transformation: true
Extent:
XMin: 5512.998499999754
YMin: 530253.7781000007
XMax: 470323.00009999983
YMax: 1220301.5020000003
Spatial Reference: 27700
(27700)
LatestVCSWkid(0)
Drawing Info:
Renderer:
Simple Renderer:
Symbol: Style: esriSFSSolid
Color: [186, 187, 252, 255]
Outline:
Style: esriSLSSolid
Color: [110, 110, 110, 255]
Width: 0
Label: N/A
Description: N/A
Transparency: 30
Labeling Info:
Label Placement: esriServerPolygonPlacementAlwaysHorizontal
Label Expression: N/A
Use Coded Values: true
Symbol:
Color: [78, 78, 78, 255]
Background Color: N/A
Outline Color: N/A
Vertical Alignment: bottom
Horizontal Alignment: left
Right to Left: false
Angle: 0
XOffset: 0
YOffset: 0
Size: 7
Font Family: Verdana
Font Style: normal
Font Weight: normal
Font Decoration: none
Min. Scale: 100000.0
Max. Scale: 0.0
Feature Draw Order:
Advanced Query Capabilities:
Supports Statistics: true
Supports OrderBy: true
Supports Distinct: true
Supports Pagination: true
Supports TrueCurve: true
Supports Returning Query Extent: true
Supports Query With Distance: true
Supports Sql Expression: true
Supports Query With ResultType: false
Supports Returning Geometry Centroid: false
Supports Binning LOD: false
Supports Query With LOD Spatial Reference: false
Supports Percentile Statistics: true
Supports Having Clause: true
Supports Count Distinct: true
Supports Time Relation: true
Supports Sql Format: false
Supports Query Analytic: true
Supports Query With Current User: true
HasZ: false
HasM: false
Has Attachments: false
HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText
Type ID Field: null
Fields:
-
objectid
(
type: esriFieldTypeOID, alias: objectid
)
-
shape
(
type: esriFieldTypeGeometry, alias: shape
)
-
district
(
type: esriFieldTypeString, alias: district, length: 10
)
-
st_area(shape)
(
type: esriFieldTypeDouble, alias: st_area(shape)
)
-
st_perimeter(shape)
(
type: esriFieldTypeDouble, alias: st_perimeter(shape)
)
Supported Operations:
Query
Query Attachments
Query Analytic
Generate Renderer
Return Updates
Iteminfo
Thumbnail
Metadata