{ "currentVersion": 10.91, "id": 5, "name": "PostcodeDistrict", "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 of postcode districts which are the next hierarchical level above the postcode sector, 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. 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.", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 27700, "latestWkid": 27700 }, "copyrightText": "National Records of Scotland", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 242, 221, 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": "district", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "objectid", "domain": null }, { "name": "district", "type": "esriFieldTypeString", "alias": "district", "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": "r206_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a189_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 }