Talk:UK postcodes
From Wikipedia, the free encyclopedia
I've put London stuff here, because I don't think either article will be very long: best to avoid stubs. We can always split later if needed.
I read once that the NW & other london numbering is alphabetical by name of sorting centre. (or old name of sorting centre). can someone confirm? -- Tarquin
Name of the sub-district, according to http://www.sigtel.com/tel_info_postcodes.html - Khendon 09:47 Oct 10, 2002 (UTC)
And here is my list of London Postal Districts (which people erroneously call postcodes in all their alphabetical glory: http://www.rhaworth.myby.co.uk/phreak/londonpd.htm. Note E98 used for The Times - slightly contradicts my note about CR9 in the main article. -- RHaworth 09:02, 2005 Jan 28 (UTC)
Contents |
[edit] Non-geographic postcodes
I've added a section about these to the main article. The only ones I know of are the 3 I've listed: BS98, BS99 and WC99. I'm sure there are many others. Does anyone have a list? RenesisX 11:39, 31 October 2006 (UTC)
[edit] Temporary postcodes
- are asigned to, for example, building site offices (road construction) does anyone know how this is done? What about BFPO and ships in harbour? Rich Farmbrough 11:42, 13 Oct 2004 (UTC)
[edit] Australian Postcodes
We need some information on Australian postcodes. — Yama 8 July 2005 11:28 (UTC)
There already is information on these on List of postal codes in Australia, and it would be a help if you could put info on that page, like what year they were introduced (1972?) I admit, though, that it would be a good idea to move this article to something like UK postcode system, and redirect post code to postal code. Quiensabe 13 Jul 2005 20:55 (UTC)
- If you've got changes to make, do them all. Don't delete other people's hard work and leave the rest in the hope that someone will clean up. 59.167.6.237 13:14, 2 August 2005 (UTC)
-
- And what contribution have you made to this page? Why is pointing out that neither the UK or Australia have a monopoly on the term post code 'vandalism'?
- Quiensabe 8 Aug 2005 20:55 (UTC)
-
-
- A negative contribution is worse than no contribution at all.--59.167.6.237 10:18, 19 August 2005 (UTC)
-
[edit] 'Postcode', 'Post code' and 'Postal Code'
The article title 'Postcode' notes the alternate spacing 'Post code' used in some countries (implying they're basically the same thing). By this logic 'Post Code' should redirect to 'postcode'; however, 'Post Code' *actually* redirects to 'Postal Code'....
Although I'd ask if this should be fixed, it presents a more general question about the organisation of content between the two articles. The 'Postcode' article aims to be generic (references to postcodes in countries outside the UK), yet concentrates on the UK system too much for this. And as mentioned, there's already a generic article about it ('Postal code')
My proposal is to move non-UK content in the 'postcode' article to the generic 'Postal code' article. This still leaves the UK-specific content remaining; and the article could then be titled more appropriately ('Postcodes in the UK', or something along those lines).
Finally, 'Post code' and 'Postcode' would both redirect to 'Postal code'.
(Apologies for the lack of account, which will be sorted. Please reply here, not to my anonymous 'user'. I'm on dial-up; plus, the address given is apparently the ISP's transparent web-cache address, not mine).
- I completely agree with this suggestion - or alternatively that the content be merged into the article Postal Code, and a new article be established for UK postcode (this I think would amount to the same thing but it might be clearer for people to understand the intent of the change as it happens). The existence of this page (except as a seperate UK postcode article) makes no sense as there is already the above-mentioned generic article. Since the term "postal code" better embraces the various systems that other states have (ie ZIP, etc) than the UK-specific "postcode", clearly this page should give way to the Postal Code page, or otherwise be converted into a UK-specific page. --Danward 22:54, 29 April 2006 (UTC)
[edit] resemble
"The letters in the inward code, however, are restricted to the set ABDEFGHJLNPQRSTUWXYZ (so cannot be one of CIKMOV), which generally do not resemble digits or each other when hand-written"... I would park the (...) bit at the end or something, else if you read this sentence on the radio, it sound like the "not" is referring to the CIKMOV...
"Mail from the UK continues to be treated as international, not inland, and sufficient postage must be used.": reword or something. Lost me here.
In Taiwan one can use the 3 or 5 digit versions.
[edit] Same details on another website
I have just found this online.
www.absoluteastronomy.com/reference/postcode
Parts of it are word for word the same.
The same for this site as well
pjb007 17:11, 24 February 2006 (UTC)
[edit] Regular Expressions
The "definitive" regular expression does not appear to recognize "WC1N2PL", which is a valid UK post code. — 86.136.86.62 (user, talk), 16:42, April 6, 2006
- You're right, though the article does disclaim: "The above regular expression does not validate some London postcodes." I still prefer my regex (the first one ;o) — OwenBlacker 12:06, 16 June 2006 (UTC)
I have removed the forward slashes and case-insensitivity marks from the following as they relate to JavaScript and not the regular expression itself:
- /^[A-Z][A-Z]?[0-9][A-Z0-9]? ?[0-9][ABDEFGHJLNPQRSTUWXYZ]{2}$/i
and have also replaced:
- However, this too is not completely accurate and will match many invalid postcodes. A more complete regular expressions is:
-
- ^([A-PR-UWYZ]\d\d?\d[ABD-HJLNP-UW-Z]{2}|[A-PR-UWYZ][A-HK-Y]\d\d?\d[ABD-HJLNP-UW-Z]{2}|[A-PR-UWYZ]\d[A-HJKSTUW]\d[ABD-HJLNP-UW-Z]{2}|[A-PR-UWYZ][A-HK-Y]\d[A-HJKRSTUW]\d[ABD-HJLNP-UW-Z]{2}|GIR0AA)$
- (this assumes that the space between the outward code and inward code is removed, e.g. SW50QF)
-
- The above regular expression does not validate some London postcodes. Examples include EC1V 1AA and EC1Y 1AA. None of these expressions come close to validating whether a postcode exists, as there are many otherwise valid "holes" that have not been assigned. Such a regular expression would be almost as long as the full list of postcodes. A regular expression matching just the existing outcodes is over a thousand characters long.
with the following:
- However, this too is not completely accurate and will match many invalid postcodes. Yet more complete regular expressions are:
-
- ^(GIR 0AA)|([A-PR-UWYZ]\d|[A-HK-Y](?! )(\d|(?<=\d)[A-HJKSTUW])?((?<=[A-Z]{2}\d)[\dABEHMNPRV-Y])? \d[ABD-HJLNP-UW-Z]{2})$
- (which will only work if lookarounds are supported by the regular expression engine being used)
-
- ^(GIR 0AA)|([A-PR-UWYZ]((\d(\d|[A-HJKSTUW])?)|([A-HK-Y]\d(\d|[ABEHMNPRV-Y])?)) \d[ABD-HJLNP-UW-Z]{2})$
- (which does not use lookarounds but as a result has to be written in a non-linear fashion to keep track of the character position being tested)
which account for character position by not using optional characters in mid-stream and therefore should support the previously unsupported postcodes. — 217.46.150.171 17:58, 15 August 2006 (UTC)
[edit] Exceptions
I've added the postcode for Santa (SAN TA1), and there's and interesting website here: [1] that lists similar valid addresses for other countries.
Apart from Santa, can anyone say definitively if GIR 0AB is also an allowable exception in addition to GIR 0AA?
I believe there is also a 'test' postcode that is valid in the PAF, but does not correspond to anywhere real - anyone know what it is - it might possibly be the FX postcode apparently used in training. I have no idea if the AM code for Ambridge validates properly in the PAF either.
WLD 14:31, 12 July 2006 (UTC)
- The Royal Mail's address finder says both GIR 0AA and SAN TA1 are not in the correct format (or "You have entered the Postcode incorrectly.", as opposed to "The address or postcode you have entered is not listed in our database."). I'm not sure what the most authorative source for postcodes is though. Elektron 14:23, 27 July 2006 (UTC)
- Left hand, meet right hand. As you've discovered, determining whether a particular postcode is valid or not is tricky, and the on-line address finder is not authoritative, and neither is the PAF. There probably isn't a single authoritative source, unfortunately. GIR 0AA is definitely valid, as it is still in use by Alliance & Leicester, who took over GIRObank in the UK. WLD 20:28, 27 July 2006 (UTC)
-
-
- The postcode element of the addresses side of British Standard BS7666 (Spatial datasets for geographical referencing) is covered in the appropriate page of the UK Government Data Standards Catalogue - 217.46.150.171 08:26, 16 August 2006 (UTC)
- That standard validates the format, not the content. And, it also explicitly lists GIR 0AA as an exception still used. Furthermore, I don't think it claims to be definitive - that is, I think it is a descriptive standard, not a prescriptive one. I would expect the Royal Mail to have a source document describing both the format and valid contents of their implementation of a postal code - not least as a specification for the automated sorting machines - but whatever they have does not seem to be available to the general public. The PAF is not definitive, even though many organisations erroneously treat it as such. WLD 10:02, 16 August 2006 (UTC)
- The standard is just that a British Standard and the postcode section is only part but does prescribe - for the time being at least - the structure of UK postcodes that are or could be assigned. It is however acknowledged that these conventions may change in the future if operationally required. - 217.46.150.171 10:45, 16 August 2006 (UTC)
- I think it has been updated - see here, and I don't have access to the 2006 revised edition. The link you give says "The code allocated by the Post Office to identify a group of postal delivery points.", so the document you link to acknowledges ownership of the code by the 'Post Office' i.e. it is not defined by the standard. The British Standard can say what it likes e.g. "the colour of Smarties will be that determined by the confectioner", so so long as the confectioner chooses the colour, then he is following the standard. If someone other than the confectioner were to choose the colour of the Smarties to be manufactured, the standard would not then be being followed. The standard doesn't say what the colours will be. In this case, the standard is effectively saying that it is whatever the 'Post Office' says, then goes on to attempt to describe the practice of the 'Post Office'. WLD 11:10, 16 August 2006 (UTC)
- You are right that there appears to have been a very recent update - I'll reserve further comment until I have been able to delve deeper into its nature - 217.46.150.171 14:40, 16 August 2006 (UTC)
- Thanks WLD 15:55, 16 August 2006 (UTC)
- I think it has been updated - see here, and I don't have access to the 2006 revised edition. The link you give says "The code allocated by the Post Office to identify a group of postal delivery points.", so the document you link to acknowledges ownership of the code by the 'Post Office' i.e. it is not defined by the standard. The British Standard can say what it likes e.g. "the colour of Smarties will be that determined by the confectioner", so so long as the confectioner chooses the colour, then he is following the standard. If someone other than the confectioner were to choose the colour of the Smarties to be manufactured, the standard would not then be being followed. The standard doesn't say what the colours will be. In this case, the standard is effectively saying that it is whatever the 'Post Office' says, then goes on to attempt to describe the practice of the 'Post Office'. WLD 11:10, 16 August 2006 (UTC)
- The standard is just that a British Standard and the postcode section is only part but does prescribe - for the time being at least - the structure of UK postcodes that are or could be assigned. It is however acknowledged that these conventions may change in the future if operationally required. - 217.46.150.171 10:45, 16 August 2006 (UTC)
- That standard validates the format, not the content. And, it also explicitly lists GIR 0AA as an exception still used. Furthermore, I don't think it claims to be definitive - that is, I think it is a descriptive standard, not a prescriptive one. I would expect the Royal Mail to have a source document describing both the format and valid contents of their implementation of a postal code - not least as a specification for the automated sorting machines - but whatever they have does not seem to be available to the general public. The PAF is not definitive, even though many organisations erroneously treat it as such. WLD 10:02, 16 August 2006 (UTC)
- The postcode element of the addresses side of British Standard BS7666 (Spatial datasets for geographical referencing) is covered in the appropriate page of the UK Government Data Standards Catalogue - 217.46.150.171 08:26, 16 August 2006 (UTC)
-
[edit] UK Postcodes
Norwich now uses standard form postcodes: NRx yzz, (correctly stated in the detailed history) and not the original trial form NOR xxx (as claimed in the introductory section on possible formats).
[edit] what lottery?
Section #Postcode_lottery doesn't mention any lottery. --Jidanni 2007-03-12
- "Postcode lottery" is a political cliche not a lottery and really shouldn't be in the article. It refers to unequal distribution of resources by geographical area. This can be eg NHS treatment or funding from the "good causes" bits of the national lottery. Secretlondon 13:06, 29 March 2007 (UTC)
- I've made it a separate article. Andy Mabbett 13:17, 29 March 2007 (UTC)