Home

Code-Point user guide and technical specification v2.1

image

Contents

1. Code Point is available in e BS 7567 NTF v2 0 Level 2 and e Comma Delimited File CDF Update Code Point is recreated quarterly using updates from Ordnance Survey field surveys and Gridlink a consortium made up of Royal Mail RM Ordnance Survey the Office of National Statistics ONS Ordnance Survey of Northern Ireland OSNI and the General Register Office for Scotland GROS via ADDRESS POINT and Boundary Line Updates are supplied quarterly Updates are provided as a complete resupply but do not include deleted postcodes File sizes File sizes for GB are as follows NTF 262 Mb CSV 140 Mb Code Point data structure The Code Point CD ROM contains two folders in the root directory Info and Data The Info folder contains the following files e Readfirst a file summarising copyright and licensing information that must be read and understood before any data files are opened e CD INFO a file summarising the content and file structure of the CD ROM e DISCCARE TXT a file summarising recommendations on the handling and storage of CD ROMS e Codelist txt a list of the ONS county district and ward codes and their full text equivalents e Metadata txt derived from Boundary Line lists the numbers of postcode units in each postcode area and the date of the most recent version of the Royal Mail PAF that has been incorporated into the data The Data folder contains the following sub folders e CSV Cont
2. Record size NTF data is written to the supply media in variable length records with a maximum physical record length of 80 characters which includes CONT MARK continuation mark and EOR record terminator Continuation mark CONT MARK Continuation records are used where the maximum physical record length of 80 characters does not permit a logical record to be transferred wholly within one physical record The presence of a continuation record is indicated by the value of the continuation mark CONT MARK that immediately precedes the record terminator EOR The value of CONT MARK is 1 if there is a continuation record present and 0 if there is not Record terminator EOR The last character of each physical record is the end of record terminator which is the percent character 96 ASCII 37 Transfer set A transfer set normally equates to a single file Transfer set structure Volume records Each transfer set starts with a compulsory Volume Header Record VOLHDREC and terminates with a compulsory Volume Terminator Record VOLTERM Database records Database records transfer information common to all data and their presentation in the subsequent section s An NTF transfer set will comprise one database The database commences with a Database Header Record DBHREC which sets up the database It will be followed by a number of Attribute Description Records ATTDESC and Feature Classification Records FEATCLASS E NN Co
3. CRM 16 D X ET 16 NTF OX Plaine es e 17 An overview of the data in NTP sisena na aaia 17 INtHOGU COM m 17 Record Size ricis c edem ro cc dcs di n beds te a veau tesa S RM 17 Continuation mark CONT MARK sssssssssssseeeeeennen enne nente nennen 17 Record terminator EORJ ott eti et erede uer tdeo a ana ua ence ea beet adn 17 Transfer Set e coa eoe eene bd ied dba sweat lagu ak Eaa EEEE NAE 17 Transfer Set SIF GUFe ei ecce e cie e dede se deron eade a eode septi eo Mound 17 Volume fecords e adve etc eov pcm cot vtr gud eedem rud et bud nsu d eed 17 Database records e te ede e t siden v una patet vene Rotes aA 17 Section records ee 18 Supply of data on media sssssssssssssseseee eene nennen ennt nnne nennen 18 Formatted media sse nennen ene entem ennt nnne nennen nennen nnne 18 Record structures for the transfer of Code Point in NTF eeeeeeeeeeeee 19 MU Ecce 19 Volume Header Record VOLHDREC 01 cccccccecccceeeeeeeceneceeeeeeeeeceaacaeeeeeeesesensanaeeeeeess 20 Database Header Record DBHREC 02 sssssssssssssseeeenenee rennen enne 21 Attribute Description Record ATTDESC 40 sssssssssseeeeeeee enne nns 22 Feature Classification Record FEATCLASS 05
4. Country code 0 0RH003A3 NHS regional health authority code 0 0LH003A3 NHS health authority code 0 0CC002A2 Administrative county code 0 0 0 0 0 0 0 0 0 0 0 0 DC002A2 Administrative district code 0 WC0O02A2 Administrative ward code 0 LS001A1 Postcode type 0 NEED DFEREETPERPI BENESSERE ERE TECUM ats adel DOR EET CCPEHENISEE CHER lactase seal ans AOS 12345678901234567890123456789012345678901234567890123456789012345678901234567890 BRRERRBRRRRRRRBRKR PRB GS Template 0 00 o MNENNENENENENMMNA EAESERBENKRMMNMNMNMNMNMNMNNMNMN NN Code Point technical specification chapter 3 v2 1 05 2006 Crown copyright Page 22 of 34 Feature Classification Record FEATCLASS 05 Field Position Format Value example Description REC_DESC 01 02 A2 05 Record descriptor FEAT CODE 03 06 l4 2801 Feature code CODE COM 07 16 A10 108 Not used STCLASS 17 36 A20 208 Not used FEATDES 37 A Postcode unit Point Textual description of feature classification DIVIDER es A1 Divider used to terminate variable length fields CONT_MARK m I1 0 No continuation record EOR mr A1 Record terminator variable integer Record example 052801 Postcode unit Point 0 1 2 3 4 5 6 7 8 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Template S MENENENMNMNHHRRII6EREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEENNI Code Point technical specificatio
5. in Land Line Plus representing an accurate and detailed representation of the real world Co Code Point technical specification annexe A v2 1 05 2006 Crown copyright Page 32 of 34 large user postcode A large user postcode is allocated when e a firm or business at a new address regularly receives in any one day 25 or more items of mail in a town area or 50 or more items in a rural area e a private box PO box is provided e Royal Mail Selectapost service is provided e a Business Reply or Freepost licence is taken out or e all Freepost and Business Replies have their own postcode matched address An address resulting from a match between the Land Line address data and the PAF which has been allocated a coordinate position The match may be a result of either manual or automatic matching the latter encompassing both full and fuzzy logic matching National Grid reference NGref The National Grid provides a unique reference system that can be applied to all Ordnance Survey maps of Great Britain The map of Great Britain is covered by 100 km by 100 km grid squares with the origin lying to the west of the Isles of Scilly When a National Grid reference is quoted the easting left to right direction is always given before the northing upwards direction A National Grid reference to 1 metre will identify the spatial position of the CPLC non geographic postcodes Special non geographic postcodes are allocated to s
6. unit and contains a feature serial number that is unique within any one section Geometry Record GEOMETRY 1 This record contains the coordinate position of the postcode unit identified in the previous point record All coordinate values within Code Point are given with a precision of 1 metre Attribute Record ATTREC The Attribute Record gives the attributes or details of the postcode unit for example the postcode itself PQI and so on This logical record may have one or more continuation records to transfer all the attribute information Supply of data on media Formatted media Data requested on logically formatted media such as CD ROM as defined by current Ordnance Survey product specifications will be written directly to the output device The data files will be written to the medium sequentially See also chapter 3 in the technical specification 0 NENENNENENMNI UIEMNMENNNNNNNNNEENEENEN Code Point technical specification chapter 2 v2 1 05 2006 Crown copyright Page 18 of 34 Chapter 3 Record structures for the transfer of Code Point in NTF NTF record list This list comprises the valid record types used in the Code Point NTF transfer set Descriptor Description Record name 01 Volume Header Record defines the donor and data type VOLHDREC 02 Database Header Record transfers data about the database DBHREC 40 Attribute Description Record defines attrib
7. 12 8 UP Please refer to the glossary for a further description of postcode Position Code Point location coordinate CPLC Code Point provides an NGref to a resolution of 1 metre for each postcode unit in Great Britain and Northern Ireland and is known as the CPLC A CPLC is normally allocated to a point that falls within the extent of the postcode unit The point is given the ADDRESS POINT coordinates of the nearest delivery point to the calculated mean position of the delivery points in the unit A lower positional quality CPLC will be allocated to postcode units awaiting a surveyed position or which relate to addresses that will not have a surveyed position Where several postcode units apply to one surveyed position for example a block of flats or offices there is an identical CPLC for each However there may be instances where the CPLC position is imprecise or approximate due to the manual allocation by Royal Mail of a postcode outside the recognised geographical extent of that postcode When discovered or notified to Ordnance Survey by customers using annexe A these will be referred to Royal Mail for possible improvement Positional quality indicator PQI The importance of checking the PQI to establish CPLC positional quality cannot be overemphasised It indicates the positional accuracy of the Code Point coordinates There are seven PQI values for the positional quality of CPLCs The order shown indicates the level of qu
8. 3 02 19990401 00000000020 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Template 0 0 MENENENENEMENKKRROI7ROENENENMNMNMNMNMM ZE MNM FEEEEEEEEEEENI Code Point technical specification chapter 3 v2 1 05 2006 Crown copyright Page 21 of 34 Attribute Description Record ATTDESC 40 Field Position Format Value example Description REC_DESC 01 02 A2 40 Record type identifier VAL_TYPE 03 04 A2 PR Attribute mnemonic for example PO box indicator FWIDTH 05 07 A3 001 or lt 3S gt Fixed width of attribute or three spaces if variable width FINTER 08 12 A5 A1 3S Interpretation of field A if variable width ATT NAME 13 A PO box indicator Name given to attribute DIVIDER is A1 CONT_MARK s A1 0 No continuation record EOR s A1 Record terminator NOTES An attribute description will be needed to describe all attributes used in Code Point data All the attributes that may appear within the data are given in the record examples below Record examples 40PC007A7 Postcode unit V 0 40PQ002I2 Positional quality indicator V0 PR0O1A1 PO box indicator 0 TP00313 Total number of delivery points 0 DQ00313 Delivery points with same PQI as unit itself 0 RP0031I3 Domestic delivery points 0 BP0031I3 Non domestic delivery points 0 PD0031I3 PO box delivery points 0 MP00313 Matched address premises 0 OUM00313 Unmatched delivery points 0 OCY00313
9. 5 05 Dedicated Welsh Language HelpLine 08456 05 05 04 Textphone deaf and hard of hearing users only please 44 0 23 8079 2906 Email customerservices ordnancesurvey co uk or visit the Ordnance Survey website at www ordnancesurvey co uk Use of the product The terms and conditions upon which the product including this guide is made available to you and your organisation are contained in the customer contract made between you and Ordnance Survey If there is an inconsistency between the terms of your customer contract and this guide then the terms of your customer contract prevail If you or your organisation has not signed a valid current customer contract then you are not entitled to use the product Purpose and disclaimer This guide is provided for guidance only and does not constitute any warranty representation undertaking commitment or obligation express or implied about the product or its suitability for any particular or intended purpose Any warranties representations undertakings commitments and obligations given by Ordnance Survey about the product and or its suitability for any particular or intended purpose are set out in your customer contract It is your responsibility to ensure that this product is suitable for your intended purpose Ordnance Survey does not accept any liability whether for breach of contract negligence or otherwise for any loss or liability you or any third party may suffer in relying on thi
10. Country code The code used by Office of National Statistics to indicate the country in which the Code Point georeference lies This has replaced the PAF update date field Country Code England 064 Scotland 179 Wales 220 N Ireland 152 Comma Separated Values CSV The CSV file format is commonly used to exchange data between different applications for example Microsoft Excel and Access Being text files CSV files can also be viewed in Notepad delivery point A Royal Mail defined point to which mail is delivered This may be a property private address organisation mailbox or even the name of an individual These categories are derived from The Complete Guide to Postcode Products from Royal Mail This is distinct from the addressed premise because there may be more than one organisation at an address Gridlink Gridlink is the name given to a joined up government initiative involving Royal Mail the Office for National Statistics the General Registry Office for Scotland Ordnance Survey of Northern Ireland and Ordnance Survey All these organisations are involved in the georeferencing of postcodes and the relating of postcodes to administrative and National Health areas and so on inward code or incode See postcode Land Line Ordnance Survey s definitive product range of large scale maps in digital form Land Line has a vector point and line structure that collectively forms 36 feature codes with a further 27 feature codes
11. NANCE SURVEY 2005111000000120200V 0 Template E Code Point technical specification chapter 3 v2 1 05 2006 Crown copyright Page 20 of 34 Database Header Record DBHREC 02 Field Position Format Value example Description REC_DESC 01 02 A2 02 Record type identifier DBNAME 03 22 A20 CODE_POINT_2005 4 0 lt S gt Database name Code Point dataset version DDNAME 23 42 A20 DEFAULT_02 00 lt 7S gt Standard NTF data dictionary name DDDATE 43 50 D8 19920515 Date of standard data dictionary DDBASE 51 70 A20 lt 20S gt Not used DDBDATE 71 78 D8 00000000 Not used CONT_MARK 79 79 A1 1 Continuation record follows EOR 80 80 A1 Record terminator Continuation of Database Header Record Field Position Format Value example Description REC_DESC 01 02 A2 00 Continuation record identifier FCNAME 03 22 A20 CODE_POINT_03 02 lt 4S gt Code Point specification version 3 02 see note FCDATE 23 30 D8 20051104 Creation date of dataset DQNAME 31 50 A20 208 Not used DQDATE 51 58 D8 00000000 Not used DATA MODEL 59 60 I2 02 Data model type spaghetti CONT MARK 61 61 A1 0 No continuation record EOR 62 62 A1 96 Record terminator NOTES The Code Point specification version number gives the major version before the decimal point 3 in the above example and after it the supply option 2 in the example CODE POINT 03 02 Code Point product Record example 02CODE POINT 2002 1 0 DEFAULT 02 00 19920515 000000001 O00CODE POINT 0
12. Ord S S Survey Code Point User guide and technical specification Code Point User guide Contents Section Page no adire Ne a a aa a aA E dinky a EE ima AEEA ENEE 3 Contact details sssaaa iieii EE Aa Ea a EE a 3 Use of the product ie e i ERR NR MEE EA EEA EN a EUR RR Kr REA 3 Purpose and disclaimer ee eot een en ehe eR NERA YER Dex Annu E ncnadesaeadagecnneasdexanhduaddnanedvacas 3 Copyright i e n ente pe Rote de dp Lee Gl elnino 3 Data copyright and other intellectual property rights sssseen 4 Trademark Sires sena EE 4 Back up provision of the prodUCtecsesissncsinrtisiri een EE E EE E 4 USING this GU e O 4 Chapter 1 IntrodUCtOM e 5 Using this user guide P 5 Code Point feat les 5 ehe efe o exercise hen di ena 5 Applications of Code Poilil 1 5 1 ee ee eae cedes endet mesa ve vea du e os an ed vean EDO NES 5 Chapter 2 Overview of Code Polht eer reni either ansiada PEU ky a RR a READ RE EERECRNARRR EARN A ESRECENARRARRRRA ERE 6 Data vernie W E 6 Basic prInclples i e eterne t e crt ete eue rel ae heu aa Y Valde leu aa ge Ie ean 6 Application OVOelVvIGW ec cete acaso tete taut eed dad Reb RR RN n E Nn NR ed e AMAT RR NR D UR 6 Uses of Code Polht petet etr tee te Reed nate e dvor Rae A eda yen e e dee 6 SCOMANOS PUN
13. S POINT and Boundary Line ADDRESS POINT contains postal address data for approximately 26 million postal delivery points These delivery points may be premises that are shown in Land Line data such as buildings or they might be features that do not form part of the Land Line specification such as PO boxes caravan parks buildings under railway arches temporary buildings and houseboats All postcode units in PAF Postcode Address File at the time of creation which have valid and current postal delivery points will be in Code Point Basic principles e Each postcode unit will be allocated a National Grid reference NGref of a point that falls within the notional extent of the postcode unit there may be a small number of instances where coordinates cannot be allocated e Multiple postcodes in a single block of flats or offices will share one NGref these may be either large users or small users or both e Administrative area codes are allocated using the Boundary Line polygon that the CPLC falls within currency is that of the latest available Boundary Line data Where addresses in a postcode fall in two or more administrative areas only the codes for the area in which the CPLC falls are given e NHS codes are allocated using the premise that NHS areas are always supersets of administrative areas Application overview Uses of Code Point Code Point forms a nationally consistent postcode reference and is a standard
14. TI 7 Chapter 3 Code Point explained n peie DEP the ExRHE EIS veto eusiecees Cae EE CES ea paaa Veo DER Land pu Ea 8 je 8 eji D H 8 Code Point location coordinate CPLO ssssssssssseeeneneeenee nnns 8 Positional quality indicator PQI sssssssssssssseeee enne nennen 8 Administrative and health authority codes eene 10 Annexe A Product and service performance report form cccceeeeeseeeeeeeeeeeeeeeeeeeneeeeeeeeseeeeneeeanee 11 v2 1 05 2006 0 0 o NENENENMEKIEEENNNENENENENENENNEEEEEEEEEEEEEN Code Point user guide contents v2 1 05 2006 Crown copyright Page 2 of 34 Preface This user guide hereafter referred to as the guide is designed to provide an overview of Code Point hereafter referred to as the product If you find an error or omission in this guide or otherwise wish to make a comment or suggestion as to how we can improve the guide please contact us at the address shown below under contact details or complete the product and service performance report form at Annexe A and return it to us Contact details Our Customer Service Centre will be pleased to deal with your enquiries Customer Service Centre Ordnance Survey Romsey Road SOUTHAMPTON SO16 4GU Business enquiries 44 0 23 8030 5030 General enquiries calls charged at local rate 08456 05 0
15. ains 121 postcode area files in CSV format e NTF Contains 121 postcode area files in NTF E NNI Code Point technical specification chapter 1 v2 1 05 2006 Crown copyright Page 14 of 34 Structure of Code Point CD ROM ROOT Info CD_INFO TXT codelist txt DISCCARE TXT metadata txt Readfirst txt Data CSV NTF Code Point content Code Point provides the following data e administrative county code e administrative district code e administrative ward code e country code e National Grid CPLC e National Health Service regional health authority code e National Health Service health authority code e postcode type e PQI and e postcode unit e number of delivery points with the same PQI as the postcode unit itself e number of delivery points that are PO boxes e number of domestic delivery points e number of non domestic delivery points e number of premises with a matched address e number of unmatched delivery points e PO box indicator and e total number of delivery points within postcode unit o Code Point technical specification chapter 1 v2 1 05 2006 Crown copyright Page 15 of 34 Formats Code Point is available in BS 7567 NTF v2 0 Level 2 and Comma Separated Values CSV NTF NTF is the standard transfer format for most of Ordnance Survey s digital map data products Code Point is suppli
16. ality associated with the PQI PQ10 is the most accurate and PQ90 the least The PQI assigned to the CPLC will depend on the coordinates available in ADDRESS POINT to generate the CPLC If the ADDRESS POINT PQI is PQ3 then the Code Point PQI will be PQ10 0 0 o NMENEENENMHAAA A BND RBKR gEH KEKNMNNNMNMNMNNNENEN NEN Code Point user guide chapter 3 v2 1 05 2006 Crown copyright Page 8 of 34 PQI Description of source ADDRESS POINT data 10 Within the building of the matched address closest to the postcode mean determined automatically by Ordnance Survey or Ordnance Survey of Northern Ireland OSNI BT postcode area only 20 As above but determined to visual inspection by GROS General Register Office for Scotland 30 Approximate to within 50 m of true position postcodes relating to developing sites may be within 100 m of true position 40 The mean of the positions of addresses previously matched in ADDRESS POINT but which have subsequently been deleted or recoded very rarely used 50 Estimated position based on surrounding postcode coordinates usually to 100 m resolution but 10 m in Scotland 60 Postcode sector mean direct copy from ADDRESS POINT See glossary for additional information 90 No coordinates available Attributes Attribute Postcode Positional quality PO box indicator Total delivery points Delivery points used to the CPLC where the PQI value is 10 or 20 Dome
17. ce For example Outward Inward NW 6 4 DP Unit Sector District Area postcode area An area given a unique alphabetic coding by Royal Mail to facilitate the delivering of mail The area is identified by one or two alpha characters at the start of the full postcode the letters being derived from a town city or district falling within the postcode area There are at present 120 postcode areas in Great Britain for example SO for Southampton MK for Milton Keynes B for Birmingham or W for London West The postcode area code constitutes the first part of the outward code postcode district A sub area of the postcode area specified by the character sub string within the first half of a full postcode which may be numeric alphabetic or alphanumeric for example 42 from MK42 6GH or 1A from W1A 4WW There are approximately 2800 postcode districts in Great Britain NOTE There are certain non geographic districts In these instances a district code is allocated to cover all large users in the postcode area postcode sector A sub area of a postcode district whose area is identified by the number third from the end of a full postcode There are approximately 9000 postcode sectors in Great Britain An example of a postcode sector code is 3 from GU12 3DH postcode unit A sub area of a postcode sector indicated by the two letters of the inward postcode which identifies one or more small user postcode deliv
18. de Point technical specification chapter 2 v2 1 05 2006 Crown copyright Page 17 of 34 Database Header Record DBHREC This mandatory record indicates the commencement of a database and gives details of e the database name e NTF release date e the supply option and e creation date that applies to the whole transfer set Attribute Description Record ATTDESC These records list and give descriptions of the attributes that can be applied to the features within the transfer set Feature Classification Record FEATCLASS These records list and give descriptions of the feature codes that can be present within the transfer set Section records The section records contain the Code Point data within the postcode area being transferred by that section It starts with the Section Header Record SECHREC and is followed by a number of Section Data Records that contain data on all the postcode units within the section In Code Point these data records consist of a sequence of three logical records which is repeated for each postcode unit within the section Section Header Record SECHREC This mandatory record starts a section It contains information and parameters essential for understanding interpreting and processing some of the fields within the data It establishes the unit of measure for X and Y coordinates origins and other constants Point Record POINTREC This record identifies the start of the data for a single postcode
19. ed in NTF v2 0 Level 2 which has been formally recognised as a British Standard BS 7567 For convenience BS 7567 NTF v2 0 Level 2 is referred to as NTF throughout The structure of Code Point supplied in NTF is described in chapter 2 and chapter 3 of the technical specification CSV CSV is a standard method for delivering data It is a common interchange format for spreadsheets and databases and facilitates simplistic use of Code Point For convenience this is referred to as CSV throughout The structure of Code Point supplied in CSV is described in chapter 4 and chapter 5 of the technical specification A MEN Code Point technical specification chapter 1 v2 1 05 2006 Crown copyright Page 16 of 34 Chapter2 NTF explained An overview of the data in NTF Introduction This chapter gives an outline of the data structure of Code Point in NTF It should be read in conjunction with chapter 3 There are certain conventions used in the record examples which are Square brackets are placed around record names for example VOLHDREC A pair of braces denote field names for example REC DESC is the record descriptor field 21 A two digit number following square brackets denotes the record descriptor which uniquely identifies the record name between the brackets S This is the space character ASCII code 32 3S This denotes three successive space characters 96 The percentage character ASCII code 37
20. ery points or an individual large user postcode There are approximately 1 7 million postcode units in the UK Post office PO box Generally a non geographic address allocated with a number by the Post Office PO boxes within ADDRESS POINT are now matched to the Royal Mail delivery office at which they are based except in the BT postcode area rather than the average of matched addresses within the postcode sector This will enable PO boxes to be matched with a PQI value of 10 Postzon A file marketed by Royal Mail that allocates a National Grid reference to each postcode unit This coordinate is derived from a 100 metre square that contains the first of the range of addresses that form the postcode unit 0 Code Point technical specification annexe A v2 1 05 2006 Crown copyright Page 34 of 34
21. es for all available postcode units supplied to Ordnance Survey from the Royal Mail PAF Resources are directed towards continually improving attribute and positional accuracy Deleted postcodes are not included Errors and omissions that are identified by customers can be referred to Ordnance Survey for investigation and where appropriate onward notification to Royal Mail CL EN Code Point user guide chapter 3 v2 1 05 2006 Crown copyright Page 10 of 34 Annexe A Product and service performance report form Ordnance Survey welcomes feedback from its customers about Code Point If you would like to share your thoughts with us please print a copy of this form and when completed post or fax it to the address below fella ERNEUT I es ee kN Wt Pe VE RO Ee VEE COGGAMIS ATION PS PROGRESS MORTE T DR eae ae caer a i eaten ened a ae ae ee eats Quotation or order reference sessssssesssssseeneenehn nenne hnehesnninhess kn LAESA NENAS danni essa asses itis assa eres sa AEk Ld Please record your comments or feedback in the space below We will acknowledge receipt of your form within three 3 working days and provide you with a full reply or a status report within 21 working days If you are posting this form please send it to Code Point Product Manager Ordnance Survey Romsey Road SOUTHAMPTON SO16 4GU If you wish to return it by fax please dial 023 8079 2615 Any personal information that you supp
22. f 34 AnnexeA Glossary The purpose of this section is to provide a glossary of terms used in the definition of products services licensing and other terms and conditions for Code Point Where terms refer to other terms within the glossary they are connected by means of hot links to the relevant entries addressed premise A permanent or non permanent building structure with an address being a potential delivery point for Royal Mail Examples of an addressed premise would be a house a flat within a block of flats a caravan site a bollard to which several houseboats may be moored or an organisation occupying the whole of a building ADDRESS POINT An Ordnance Survey addressing product that relates Royal Mail Postcode Address File PAF addressed properties within Great Britain to the National Grid area based postcode A type of large user postcode that is allocated to a small number of organisations who receive an exceptionally large amount of mail These postcodes still relate to a geographical area but may overlap other sector areas or be scattered building A physical walled structure connected to foundations that has or will have a roof This definition includes buildings surveyed at foundation stage CPLC Code Point location coordinate A National Grid reference for each postcode unit It is a two dimensional coordinated point to a resolution of 1 metre Coordinates are attributed from GRIDLINK using an accuracy hierarchy
23. ingle organisations who receive an exceptionally large amount of mail These are included in Code Point National Transfer Format NTF A vector interchange format used to distribute digital map products from Ordnance Survey that conforms to BS 7567 Electronic transfer of geographic information NTF outward code or outcode See postcode PAF Postcode Address File The PAF was created when all the separately held information was assembled and stored on a Royal Mail central computer system PAF now contains the postal addresses and postcodes of approximately 26 million delivery points in Great Britain including approximately 222 000 large users positional quality PQ The positional quality is a flag to indicate the positional accuracy of the Gridlink coordinates allocated to each postcode record All postcodes are to 1 m resolution but Gridlink will seek to provide the most accurate coordinates according to the hierarchy detailed in the following table Status value Description of status values 1 Automatically calculated to be within the building of the matched address closest to the postcode mean 2 As for status value 1 except by visual inspection of Land Line maps Approximate to within 50 m of true position Postcode unit mean mean of matched addresses with the same postcode but not snapped to a building Postcode imputed by ONS by reference to surrounding known postcodes 6 Postcode sec
24. inuation record EOR 78 78 A1 96 Record terminator Record example 07SO 210000720000001000000062000000100000000000000000000000000000000015 00000000000000000000000000000000000000000000000000000000000000000000199904010 Template 0 00 o MENNENENMEEKEONKEMNMNNMEEENEEEEEEEEEEEEEEEEEENN Code Point technical specification chapter 3 v2 1 05 2006 Crown copyright Page 24 of 34 Point Record POINTREC 15 Field Position Format Value example Description REC_DESC 01 02 A2 15 Record type identifier POINT_ID 03 08 l6 000051 Feature serial number range 000001 999999 VAL TYPE 09 10 A2 28 Not used VALUE 11 16 A6 68 Not used FEAT CODE 17 20 A4 2801 Point feature code CONT MARK 21 21 A1 0 No continuation record EOR 22 22 A1 96 Record terminator Record example 15000051 28010 Template S MENENENMEERSORNEMMMMMNMNMNMMNNNNENNENENENEN Code Point technical specification chapter 3 v2 1 05 2006 Crown copyright Page 25 of 34 Geometry Record GEOMETRY 1 21 Field Position REC DESC 01 02 GEOM ID 03 08 GTYPE 09 09 NUM COORD 10 13 X COORD 14 20 Y COORD 21 27 QPLAN 28 28 CONT_MARK 29 29 EOR 30 30 Format A2 16 Al 14 17 17 A1 A1 A1 Value example 21 000000 1 0001 0272530 0196956 S 0 1 96 Description Record type identifier Not used Defines point geometry Number of coordinate pairs Easting Northing Not used No continuation reco
25. l Postal Addressing File PAF Land Line and the ROADS database datasets from Ordnance Survey and administrative and national health area codes created by ONS OSNI and GROS but allocated using Ordnance Survey Boundary Line data and positioned with an Ordnance Survey NGref It also contains the BT postcodes for Northern Ireland locations for which are supplied by OSNI Currency Currency is a measure of the real world change included in Code Point Monthly postcode updates from the Royal Mail Postzon and PAF and inputs received from ONS GROS and OSNI together with improvements derived from Ordnance Survey field activity are included in each version of Code Point Positional accuracy Each CPLC is coordinated on the National Grid with eastings and northings quoted to a resolution of 1 metre The accuracy of each postcode unit coordinate pair is defined by the PQI which provides a quality statement of that Code Point record Attribute accuracy The representation of postcode attributes is checked as part of Royal Mail maintenance of PAF and by Ordnance Survey when coordination and quality assurance of ADDRESS POINT is carried out during field survey activity Logical consistency Logical consistency is a measure of the degree to which Code Point data agrees with its specified structure Data is monitored to ensure that attributes are present in the correct format and in valid combinations Completeness Code Point contains coordinat
26. link between databases and GIS Identified below are some of the applications for Code Point Retail Market analysis and profiling Sales analysis by store Competitor analysis Customer buying profiles Store location Targeting promotions Insurance Market analysis and profiling Geological and flood risk analysis Personal and household risk assessment Incident area management Health Targeting of services to population needs Resource allocation Epidemiology Analysis of What if scenarios Utilities Market profiling Consumption analysis Pressure zone analysis Transport Location finding Government Statistical demographic analysis Crime analysis Flood warnings Pollution monitoring Code Point user guide chapter 2 v2 1 05 2006 Crown copyright Page 6 of 34 Scenarios Medical research for health authorities It is necessary for health authorities to be able to analyse and identify the effects and potential implications of contamination Is the incidence of bronchitis uneven throughout a health authority s area Customer survey for market research purposes A questionnaire has been distributed to all houses within a large geographical area The results and the relationships between groups of customers need to be analysed Incident analysis for emergency services An ambulance service wishes to assess the efficiency and value of various mobile unit locations in reducing call response times Insurance for fina
27. ly with this report form will be used by Ordnance Survey only in the improvement of its products and services It will not be made available to third parties 0 0 o NENENENMERIEERR aMERRRNMNMNEENENEEMEMME 2M EN Code Point user guide annexe A v2 1 05 2006 Crown copyright Page 11 of 34 Code Point Technical specification Contents Section Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Annexe A Page no 13 Purpose of this specification and disclaimer sssssssesseeneneennens 13 eee um L ett 13 Using this specification reri rte neben tek enn ae ER phia ee neuen ako desandecdestaessaesansnctes 13 Introducing Code Palnt er pet ertt aaa EIE MEE ELI DE E EPI Le RE LEE Ua 14 Requirements to utilise Code Point sssssssssssssssseeeeneneeenenn nennen 14 What you need to use Code Point ssssssssss eene eene 14 SUPPlY GESTION gies ER 14 Blei Uu 14 PG SIZOS ctos energies II III 14 Code Point data SWUGIUIC erra i eere te e tetto ener AEA eor EE E AEE E e eR dee ee ERE Tee RAE 14 Structure of Code Point CD ROM ssssssssssessseeene ener nnne nnn nnn 15 Code Point content 1 en aa r a a rures t eed eee 15 Formats EET 16 INTESSSsnnishesbaenenessimcebs nme nadie me NN
28. n chapter 3 v2 1 05 2006 Crown copyright Page 23 of 34 Section Header Record SECHREC 07 Field Position Format Value example Description REC_DESC 01 02 A2 07 Record type identifier SECT_REF 03 12 A10 SO lt 8S gt Postcode area covered by dataset COORD_TYPE 13 13 I1 2 Defines rectangular coordinates STRUC TYP 14 14 I1 1 Defines vector data XYLEN 15 19 I5 00007 Defines X COORD Y COORD as seven digit fields XY UNIT 20 20 I1 2 Defines X and Y units as metres XY MULT 21 30 R10 3 0000001000 Multiply X and Y coordinates by 1 000 ZLEN 31 35 I5 00006 Defines Z coordinates as six digit fields Z UNIT 36 36 I1 2 Defines Z units as metres Z MULT 37 46 R10 3 0000001000 Multiply Z units by 1 000 X ORIG 47 56 110 0000000000 Origin of National Grid zero Y_ORIG 57 66 110 0000000000 Origin of National Grid zero Z DATUM 67 76 110 0000000000 Not used CONT_MARK 77 77 A1 1 Continuation record follows EOR 78 78 A1 96 Record terminator Continuation of Section Header Record Field Position Format Value example Description REC DESC 01 02 A2 00 Continuation record identifier XMIN 03 12 110 0000000000 Not used YMIN 13 22 110 0000000000 Not used XMAX 23 32 110 0000000000 Not used YMAX 33 42 110 0000000000 Not used XY_ACC 43 47 R5 2 00000 Not used Z_ACC 48 52 R5 2 00000 Not used SURV_DATE 53 60 D8 00000000 Not used LAST_AMND 61 68 D8 00000000 Not used COPYRIGHT 69 76 D8 19990401 Effective copyright date CONT_MARK 77 77 A1 0 No cont
29. ncial services An insurance company has been asked to quote structural insurance for a potential customer within the Southampton SO area SO has been labelled geographically as a clay area and therefore insurance companies could charge higher premiums because of the potentially higher incidence of subsidence CL NN Code Point user guide chapter 2 v2 1 05 2006 Crown copyright Page 7 of 34 Chapter3 Code Point explained Postcode Postcodes are an alphanumeric abbreviated form of address Postcode units are unique references and identify an average of 15 addresses In some cases where an address receives a substantial amount of mail a postcode will apply to only one address a large user postcode The maximum number of addresses in a postcode is 100 The postcode is held in Code Point as a seven character field Although when used in an address the inward code incode should be separated from the outward code outcode by a single space within Code Point data there may be 0 1 or 2 spaces between these elements of the postcode The following is a list of the valid formats of postcode held An A indicates an alphabetic character an N indicates a numeric character Format Example Example as held in Outcode Incode postcode Code Point AN NAA M2 5BQ M2 5BQ ANN NAA M34 3AB M34 3AB AAN NAA DN5 7XY DN5 7XY AANN NAA DN169AA DN169AA ANA NAA W1AA4WW W1AAWW AANA NAA EC1A 1HQ EC1A1HQ Postcode example Area District Sector Unit KY
30. o not accept responsibility for the content of any third party websites referenced or accessed in or through this specification any other contractual documentation and or the Ordnance Survey website Copyright This specification including for the avoidance of doubt any mapping images reproduced herein is Crown copyright 2006 All rights reserved Any part of this specification may be copied for use internally in your organisation or business so that you can use Code Point for the purpose for which it is licensed to your organisation or business but not otherwise No part of this specification may be reproduced or transmitted in any form or by any means including electronically for commercial exploitation without the prior written consent of Ordnance Survey No part of this specification may be copied or incorporated in products services or publications that you generate for onward sale or as free promotional or support materials without the prior written consent of Ordnance Survey Using this specification The documentation is supplied in portable document format PDF only Free Adobe Acrobat Reader software which displays the specification incorporates search and zoom facilities and allows you to navigate within Hyperlinks are used to navigate between associated parts of the specification and to relevant Internet resources by clicking on the blue hyperlinks and the table of contents Ordnance Survey is committed to pr
31. ordinate pairs Not in BT data for Northern Ireland or where PQI is 20 in Scotland Number awaiting improvement to PQ3 ADDRESS POINT Not in BT data for Northern Ireland or where PQI is 20 in Scotland Distance in metres east of National Grid origin Distance in metres north of National Grid origin Code used by ONS to identify the country in which the Code Point georeference lies See glossary NHS region in which CPLC falls NHS area in which CPLC falls County in which CPLC falls District in which CPLC falls Ward in which CPLC falls Indicates whether the user is large L or small S Large postcode type users receive more than 25 items in rural areas 50 in towns or 100 in large towns or cities Code Point user guide chapter 3 v2 1 05 2006 Crown copyright Page 9 of 34 Administrative and health authority codes Administrative and health authority codes allocation to postcode is by point in polygon comparison against Boundary Line data For administrative NHS codes a look up table in Gridlink is used In the case of unitary authorities 00 is given for administrative county the authority code appears as the district code Where a district or unitary authority is divided into electoral districts the code appears as the ward code Postcodes with a PQI of 90 or 60 are not allocated codes Lineage Code Point is derived from Gridlink data ADDRESS POINT which was initially created from a comparison of the Royal Mai
32. out the prior written consent of Ordnance Survey Data copyright and other intellectual property rights The Crown or where applicable Ordnance Survey s suppliers owns the intellectual property rights in Ordnance Survey digital map data Full details of the terms and conditions under which Ordnance Survey digital map data may be processed and or manipulated or copied by a customer whether or not for use on PCs or workstations or for making hard copies are available from the Customer Service Centre please see Contact details You should check the terms and conditions with us before using the data It is also the responsibility of the holder of the digital map data to ensure that any plotted or printed output contains the required copyright and database acknowledgements in a conspicuous position The product makes use of Royal Mail PAF files and Postzon OSNI ONS and GROS health authority codes Trademarks Ordnance Survey the OS Symbol ADDRESS POINT Code Point Gridlink Land Line Land Line Plus are registered trademarks and Boundary Line is a trademark of Ordnance Survey the national mapping agency of Great Britain Adobe is is a registered trademark of Adobe Systems Incorporated Autodesk is a registered trademark of Autodesk Incorporated ESRI is a registered trademark of Environmental Systems Research Institute Inc MapInfo is a registered trademark of MapInfo Corporation Microsoft is a registered trademark and Excel a
33. oviding customers with consistently high quality geographic information As such Ordnance Survey regularly applies several data quality measures to the product and the associated documentation These quality measurements are based on the principles identified in ISO 19113 Geographic Information Quality principles 2002 NOTE According to North America Standards Institute although ISO 19113 2002 is applicable to digital geographic data its principles can be extended to many other forms of geographic data such as maps charts and textual documents ISO 19113 2002 does not attempt to define a minimum acceptable level of quality for geographic data If you are unfamiliar with any words or terms used and require clarification please refer to the glossary at the end of the document at annexe A attached to this specification C Code Point technical specification introduction v2 1 05 2006 Crown copyright Page 13 of 34 Chapter1 Introducing Code Point Requirements to utilise Code Point What you need to use Code Point Code Point is a data product and does not include software for analysis but can be used with a variety of programs Code Point can be loaded onto any desktop PC Consult your geographical information system GIS vendor to establish actual system requirements Supply definition Code Point is only available as national cover of Great Britain and Northern Ireland and is supplied on CD ROM containing CDF and NTF data
34. rator A1 1 BP Non domestic delivery points I3 Field separator A1 1 PD PO box delivery points I3 Field separator A1 1 i MP Matched address premises I3 i Field separator A1 1 UM Unmatched delivery points I3 z Field separator A1 1 EA Eastings l6 li Field separator A1 1 NO Northings I7 7 Field separator A1 1 CY Country code I3 3 Field separator A1 1 RH NHS regional health authority code A3 3 Field separator A1 1 LH NHS health authority code A3 3 Field separator A1 1 CC Administrative county code A2 2 Field separator A1 1 r DC Administrative district code A2 2 Field separator A1 1 WC Administrative ward code A2 2 Field separator A1 1 LS Postcode type A1 1 0 0 o NENENENENENMNMN AKRERE ER EEN KE ERB NNBNDBBRhNREREKNNKNNCNKNKNRNKRNENVENI Code Point technical specification chapter 5 v2 1 05 2006 Crown copyright Page 30 of 34 Those fields containing text that is alphanumerics A will be enclosed by double quotes which have not been included in the sizes listed above Fields with null data will appear as for text or 0 for a numeric Each record will be terminated with a carriage return character ASCII 13 and a line feed character ASCII 10 Examples of a Code Point CSV record 850515RU 10 N 17 17 17 0 0 17 0 437015 120914 064 YO6 QD3 24 UN FW S Code Point technical specification chapter 5 v2 1 05 2006 Crown copyright Page 31 o
35. rd or continuation record follows Record terminator Postcodes that have no coordinated position will be given zero coordinates 00000000000000 and the positional quality indicator in the accompanying Attribute Record will be set to 0 Record examples 210000001000102725300196956 0 T 2 E E E E EET SEN EET E EE sene cose E EEE O mecs emm eas ET 12345678901234567890123456789012345678901234567890123456789012345678901234567890 3 4 Template 6 8 C MENENENENMEISERRNEEMMNMNNNNNNEEEEEEEEEEEEEEEENEN Code Point technical specification chapter 3 v2 1 05 2006 Crown copyright Page 26 of 34 Attribute Record ATTREC 14 Field Position Format Value example Description REC_DESC 01 02 A2 14 Record type identifier ATT_ID 03 08 l6 000000 Not used IVAL TYPE 09 10 A2 PC Attribute mnemonic IVALUE 11 SO515RU Attribute value CONT MARK e A1 0 No continuation record or 1 continuation record follows EOR ST A1 Record terminator The pair of fields VAL_TYPE and VALUE will repeat to specify all the attributes required It may be necessary to utilise a continuation record to specify all attributes The Attribute Record will contain all or some of the following fields Attribute Fixed or mnemonic Description variable Size PC Postcode unit F AT PQ Positional quality indicator F I2 PR PO box indicator F A1 TP Total number of delivery points F I3 DQ Delivery points used to create the CPLC where PQI
36. s guide and any guidance suggestion advice or explanation provided in it Any liability that Ordnance Survey has to you in relation to the product its supply use accuracy data supplied functionality or any other liability arising out of or in connection with the product is limited as set out in your customer contract We may change the information in this guide at any time without notice We do not accept responsibility for the content of any third party websites referenced or accessed in or through this guide any contractual documentation and or the Ordnance Survey website Copyright This guide including for the avoidance of doubt any mapping images reproduced herein is Crown copyright 2006 All rights reserved Any part of this guide may be copied for use internally in your organisation or business so that you can use the product for the purpose for which it is licensed to your organisation or business but not otherwise No part of this guide may be reproduced or transmitted in any form or by any means including electronically 0 0 MENENNMNMER gg gg MEE Code Point user guide preface v2 1 05 2006 Crown copyright Page 3 of 34 for commercial exploitation without the prior written consent of Ordnance Survey No part of this guide may be copied or incorporated in products services or publications that you generate for onward sale or as free promotional or support materials with
37. sees 23 Section Header Record SECHREC 07 ssssssssesssees eene nennen nennen 24 Point Record POINTREC 15 sse nennen enne nnn nennen nire 25 Geometry Record GEOMETRY 1 21 ssssssssssssssseseeeenenenen eene 26 Attribute Record ATTREC 14 ceccccccecceceeeeeceeeaeeeeeeeeeeeesceaeaeceseeeeesenaeaeeeeeeesesennaneeeeeeees 27 Volume Terminator Record VOLTERM 99 sssssssseeeeneeennmennnnnnn nnns 28 Comma Separated Values CSV explained eeeeeeeeereeeeeneennnnnnnnn 29 An overview of the data in CSV format sessssssssssseeeenee eene eene nennen 29 Record structures for the transfer of Code Point in CSV eseuessss 30 CSV Ao 30 MOSS AY eas societies vse tens Secatecs cee aca eueessccenies se getines cpatiogs oubppaacaduees seauepesseauaecs eesuees esueneeMrey tee 32 v2 1 05 2006 Code Point technical specification contents v2 1 05 2006 Crown copyright Page 12 of 34 Introduction Purpose of this specification and disclaimer This is the technical specification hereafter referred to as the specification referred to in the Framework Direct Licence Specific Use Framework Partner Licence or your other customer contract We may change the information in this specification at any time giving you the notice period specified in the customer contract made between you and Ordnance Survey We d
38. stic delivery points Non domestic delivery PO box domestic delivery points Matched addressed premises Unmatched delivery points Easting Northing Country code NHS regional health authority code NHS health authority code Administrative county code Administrative district code Administrative ward code Postcode type Description Contains elements for postal area district sector and unit See Postcode in this chapter Indicates the source of the data indicator used and hence the quality of the coordinates provided for each record It is determined by the best available data in ADDRESS POINT Denotes if the postcode is a PO box The total number of both matched and unmatched delivery points in the postcode Not in BT data for Northern Ireland Number of matched addresses in the postcode unit of the same positional quality in ADDRESS POINT as the PQI for that postcode in Code Point provided that the Code Point record has a PQI value of 10 or 20 Not in BT data for Northern Ireland Number of non PO box delivery points that have no PAF organisation name Not in BT data for Northern Ireland Number of non PO box delivery points that have a PAF organisation name Not in BT data for Northern Ireland Number of PO box delivery points Not in BT data for Northern Ireland or where PQI is 20 in Scotland Number of PQ3 ADDRESS POINT delivery points in buildings or building subdivisions after exclusion of duplicated co
39. tor mean mainly PO boxes 8 Postcode terminated No postcodes of this type will be provided by Gridlink nor should they be provided to Gridlink Consortium members may wish to hold this information for historical purposes The accuracy of the data is as indicated by its status value immediately prior to its termination 9 No coordinates available 0 o MENENENMERRIEMEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEN Code Point technical specification annexe A v2 1 05 2006 Crown copyright Page 33 of 34 postal address A postal address is a delivery point that is currently receiving mail There may be many delivery points within an individual building structure as shown in Land Line data postcode An abbreviated form of address made up of combinations of between five and seven alphanumeric characters A postcode may cover between 1 and 100 addresses The average number of addresses per postcode is 15 There are two main components of a postcode e The outward code also called outcode The first two to four characters of the postcode constituting the postcode area and the postcode district It is the part of the postcode that enables mail to be sent from the accepting office to the correct area for delivery e The inward code also called incode The last three characters of the postcode constituting the postcode sector and the postcode unit It is used to sort mail at the local delivery offi
40. trademark of Microsoft Corporation Ordnance Survey of Northern Ireland and OSNI are registered trademarks of Ordnance Survey of Northern Ireland PAF Post Office Postzon and Royal Mail are registered trademarks of Royal Mail Group plc Pentium is a registered trademark of Intel Corporation NHS is a trademark of the Department of Health Back up provision of the product You are advised to copy the supplied data to a back up medium Using this guide The documentation is supplied in portable document format PDF only Free Adobe Acrobat Reader software which displays the guide incorporates search and zoom facilities and allows you to navigate within Hyperlinks are used to navigate between associated parts of the guide and to relevant Internet resources by clicking on the blue hyperlinks and the table of contents The guide provides an introduction to the structure and content of the product and assumes a general knowledge of geographic information It also gives guidelines and advice on how a customer might derive the maximum benefit from the product If you are unfamiliar with any words or terms used and require clarification please refer to the glossary at the end of the document 0 0 00 NENENMEEKR EeREEEEEEENENEMM amp EONMNMNNMNMNMNMNMNNMEN Code Point user guide preface v2 1 05 2006 Crown copyright Page 4 of 34 Chapter1 Introduction Using this user guide A glossary of words and terms
41. used in this user guide can be found at annexe A Code Point features With each coordinated point Code Point products provide e information about the number and type of postal delivery points in the postcode e a positional quality indicator PQI which indicates the quality of the data underlying the Code Point location coordinate CPLC e the country indicator either England Scotland Wales or Northern Ireland e the postcode type e the National Health Service region and area codes and e the local government county district and ward codes Applications of Code Point Code Point provides a comprehensive base of geographically located data on which a wide range of applications can be built Typical applications include e market analysis lifestyle analysis e risk analysis for insurance financial and environmental services e Site location analysis for retailing and e approximate site location for route planning d 00 o o NMENENENENMEEKK RNMNNNNENENENENNMMMEMMEEEE EN Code Point user guide chapter 1 v2 1 05 2006 Crown copyright Page 5 of 34 Chapter2 Overview of Code Point Data overview Code Point is recreated quarterly using updates from Ordnance Survey field surveys and Gridlink a consortium made up of Royal Mail Ordnance Survey the Office of National Statistics ONS Ordnance Survey of Northern Ireland OSNI and the General Register Office for Scotland GROS via ADDRES
42. ute descriptions and their fields ATTDESC 05 Feature Classification Record defines data classifications FEATCLASS 07 Section Header Record coordinate and structure types unit scale factors SECHREC and so on 15 Point Record identifies the definition of a postcode unit POINTREC 21 Geometry Record defines the two dimensional geometry for a postcode unit CGEOMETRY 1 14 Attribute Record defines the attributes or details of a postcode unit ATTREC 99 Volume Terminator Record defines the end of the transfer set VOLTERM 0 o MENEENENENENMMN B BRSENNENENENENEEEEEEEEEENEEEEEEEEEEEEEEEEN Code Point technical specification chapter 3 v2 1 05 2006 Crown copyright Page 19 of 34 Volume Header Record VOLHDREC 01 Field Position Format Value example Description REC_DESC 01 02 A2 01 Record type identifier DONOR 03 22 A20 ORDNANCE SURVEY lt 5S gt RECIPIENT 23 42 A20 lt 20S gt Not used TRANDATE 43 50 D8 20051110 Date of processing CCYYMMDD SERIAL 51 54 14 0000 Customer sequence number VOLNUM 55 56 I2 01 Volume number always 01 NTFLEVEL 57 57 I1 2 NTF Level 2 NTFVER 58 61 R4 2 0200 NTF Version 2 00 NTFOR 62 62 A1 V Variable length records EOR 63 63 A1 Sets EOR to on formatted media DIVIDER 64 64 A1 Divider used to terminate variable length text fields CONT MARK 65 65 I1 0 No continuation record EOR 66 66 A1 96 Record terminator Record example OlORD
43. value is 100r20 F I3 RP Domestic delivery points F I3 BP Non domestic delivery points F I3 PD PO box delivery points F I3 MP Matched address premises F I3 UM Unmatched delivery points F I3 CY Country code F I3 RH NHS regional health authority code F A3 LH NHS health authority code F A3 CC Administrative county code F A2 DC Administrative district code F A2 WC Administrative ward code F A2 LS Postcode type F A1 Attributes with null data will be omitted from this record Each of the attribute mnemonics will be defined in an Attribute Description Record ATTDESC 40 at the start of the transfer set Record example 14000000PCSO0515RUPQ3 PRNTP017DQ017RP017BP000PD000MP017UM000RV19990215RHY06LHOD31 00CC24DCUNWCFWOS Template 0 00 A Code Point technical specification chapter 3 v2 1 05 2006 Crown copyright Page 27 of 34 Volume Terminator Record VOLTERM 99 Field Position Format Value example Description REC_DESC 01 02 A2 99 Record type identifier FREE_TEXT 03 A Message see note below CONT_VOL is 11 0 No continuation volume follows EOR ved A1 96 Record terminator NOTE The FREE TEXT field will comprise the message End Of Transfer Set Record example 99End Of Transfer Set0 Template MEE nan EEEEEEEEEUISUISIIGIUIIULMHINILLAOLLKHOOGB Code Point technical specification chapter 3 v2 1 05 2006 Crown copyright Page 28 of 34 Chapter4 Comma Separated Values CSV explained An overvie
44. w of the data in CSV format CSV is a de facto standard method for delivering data This is provided to suit customers requiring a simple business use CSV can be used in a word processing package or presented as a spreadsheet Code Point information in CSV is held within individual fields Each field is either textual for example SO515RU or numeric for example 21 Within CSV each field is separated from the next by a comma If the field is textual then the text is enclosed in double quotes for example SO515RU This method of representation can also be referred to as a Comma Delimited File CDF All coordinate values within Code Point are given with a precision of 1 metre See also chapter 5 0 0 oo NMENNENNENMERBSRRmSQQEEIEEEEEIIEEEEEEEEEEEENN Code Point technical specification chapter 4 v2 1 05 2006 Crown copyright Page 29 of 34 Chapter5 Record structures for the transfer of Code Point in CSV CSV fields The CSV will contain the following fields separated by commas in the following order Mnemonic Description Format Size Description PC Postcode unit A7 7 Field separator A1 1 PQ Positional quality indicator I2 1 Field separator A1 1 r PR PO box indicator A1 1 Field separator A1 1 TP Total number of delivery points I3 E Field separator A1 1 DQ Delivery points used to create the CPLC where the PQI I3 d value is 10 or 20 Field separator A1 1 RP Domestic delivery points I3 i Field sepa

Download Pdf Manuals

image

Related Search

Related Contents

Frigidaire FFRS0833Q1 Owner's Manual  Ideal Standard Tris - The Building Centre  *8196037* Manual de instalación y operación  SDK User Guide, internal draft 11  

Copyright © All rights reserved.
Failed to retrieve file