{ "currentVersion": 10.91, "id": 3, "name": "PostcodeUnit", "type": "Feature Layer", "description": "While Royal Mail (RM) allocate and maintain postcodes for the purposes of delivering mail, National Records of Scotland (NRS) create and maintain digital postcode geographies to support the production of high quality statistics. This dataset provides the boundaries for each live postcode (e.g. KY7 6DG) in Scotland. 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. The SPD also details a range of higher geographies to which each postcode is assigned.\n\nNote the published version of the SPD does not include Royal Mail information on Delivery Point Count (DPC), Delivery Point Count Non-Residential (DPCNR) or Household Count (HC). Those interested in this information should enquire with geographycustomerservices@nrscotland.gov.uk.", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 27700, "latestWkid": 27700 }, "copyrightText": "National Records of Scotland", "parentLayer": null, "subLayers": [], "minScale": 24000, "maxScale": 0, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 193, 245, 201, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.4 } }, "label": "", "description": "" }, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 5512.998499999754, "ymin": 530253.7781000007, "xmax": 470323.00009999983, "ymax": 1220301.5020000003, "spatialReference": { "wkid": 27700, "latestWkid": 27700 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "postcode", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "objectid", "domain": null }, { "name": "postcode", "type": "esriFieldTypeString", "alias": "postcode", "length": 9, "domain": null }, { "name": "district", "type": "esriFieldTypeString", "alias": "district", "length": 254, "domain": null }, { "name": "sector", "type": "esriFieldTypeString", "alias": "sector", "length": 254, "domain": null }, { "name": "doi", "type": "esriFieldTypeDate", "alias": "doi", "length": 8, "domain": null }, { "name": "council", "type": "esriFieldTypeString", "alias": "council", "length": 254, "domain": null }, { "name": "oa22", "type": "esriFieldTypeString", "alias": "oa22", "length": 254, "domain": null }, { "name": "dz11", "type": "esriFieldTypeString", "alias": "dz11", "length": 254, "domain": null }, { "name": "ew22", "type": "esriFieldTypeString", "alias": "ew22", "length": 254, "domain": null }, { "name": "shape_leng", "type": "esriFieldTypeDouble", "alias": "shape_leng", "domain": null }, { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape", "domain": null }, { "name": "st_area(shape)", "type": "esriFieldTypeDouble", "alias": "st_area(shape)", "domain": null }, { "name": "st_length(shape)", "type": "esriFieldTypeDouble", "alias": "st_length(shape)", "domain": null } ], "geometryField": { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "shape" }, "indexes": [ { "name": "r208_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a191_ix1", "fields": "shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 1000, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsHavingClause": true, "supportsCountDistinct": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsPagination": true, "supportsTrueCurve": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true }, "supportsDatumTransformation": true, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "st_area(shape)", "shapeLengthFieldName": "st_length(shape)", "units": "esriMeters" }, "dateFieldsTimeReference": null, "supportsCoordinatesQuantization": true }