Questions tagged [postal-code]

A postal code is a series of letters and/or digits which is useful to identify the a particular region within a postal address. Once postal codes were introduced, other applications became possible.

A postal code is a series of letters and/or digits which is useful to identify the a particular region within a postal address. Once postal codes were introduced, other applications became possible.

In February 2005, 117 of the 190 member countries of the Universal Postal Union had postal code systems. Countries that do not have national systems include Ireland and Panama. Although Hong Kong and Macau are now Special Administrative Regions of China, each maintains its own long-established postal system, which does not utilize postal codes for domestic mail, and no postal codes are assigned to Hong Kong and Macau. Mail between Hong Kong, Macau and mainland China is treated as international.

399 questions
1
vote
2 answers

Canadian Postal Codes Radius

I am using the following scripting that I found on the net to grab all postal codes between a given set coordinates. When using it my concern is that when some postal codes being grab are greater than the distance entered; not by much - about 20 KM…
Tim
  • 403
  • 1
  • 6
  • 20
1
vote
3 answers

Physical Address to GeoLocation UK

Is there a good physical address to GeoLocation conversion database in the UK? I am trying to use this to build a globrix style search box http://www.globrix.com/ for a web application. Any pointers will be nice. I have been searching for hours. I…
user166683
1
vote
3 answers

post-code filter in sed

Assuming a post code is in the form A0A 0AA, or A0 0AA where A is any letter and 0 is any number i have written the following sed script to search a web page for a post code. s/\(([[:alnum:]]\{2,4\})\) \(([[:alnum:]]\{3\})\)/\1 \2/p To store the…
BradStevenson
  • 1,974
  • 7
  • 26
  • 40
1
vote
5 answers

What is the Royal Mail's PAF Address Database?

I'm struggling to understand what you would get from the Royal Mail if you bought their PAF file dataset of UK addresses. I was expecting that PAF was some form of database which you would host yourself, and the Royal Mail provide APIs into that…
A_M
  • 7,693
  • 6
  • 33
  • 37
1
vote
1 answer

Possible to SQL Server database drive a Google Map by UK postcode?

We have a property/accommodation profile page that lists a property address including postcode. This information is stored in a SQL Server database table and the page has a recordset that allows us to feed profile information onto a page depending…
NathonJones
  • 919
  • 4
  • 13
  • 28
1
vote
1 answer

Why my geocode cannot show the address

var geocoder, map, point, fmtAdd, marker; function mapLoad() { geocoder = new google.maps.Geocoder(); var myOptions = { zoom: 15, mapTypeControl: false, mapTypeId: google.maps.MapTypeId.ROADMAP } map = new…
0
votes
1 answer

Postcode Radius Validation

I need to offer user's who Live in x location in the UK. I'm currently having users enter their postcode via a form I've built, the postcodes get submitted to the database and I use Google search to check their in a close proximity to which I can…
Michael Rich
  • 191
  • 1
  • 11
0
votes
1 answer

MySQL - match post code based on one or two first characters

I'm trying to create a SQL statement to find the matching record based on the provided post code and stored post codes in the database plus the weight aspect. The post codes in the database are between 1 or 2 characters i.e. B, BA ... Now - the…
user398341
  • 6,339
  • 17
  • 57
  • 75
0
votes
3 answers

PAF database vs a service such as Postcode Anywhere

Would it be more cost effective for a small business (around 25 concurrent users) to buy a PAF database and code it up ourselves or use a Postcode service such as Postcode Anywhere? The Royal Mail site is really confusing!…
JMK
  • 27,273
  • 52
  • 163
  • 280
0
votes
2 answers

regex to extract part of a UK postcode from an address string

I really don't know enough about regex to tackle this on my own so... I am playing with geolocation API and my goal is to get a rough idea about the whereabouts of the visitor so I can list services on offer in that particular area. this is done via…
Dimitar Christoff
  • 26,147
  • 8
  • 50
  • 69
0
votes
4 answers

Auto-selection of

I have a SELECT element in which I need to auto-select the appropriate option based on the first half of a postcode entered in a text field. British postcodes are of the form AB12 3CD, where the first section consists of 1-2 letters representing the…
DisgruntledGoat
  • 70,219
  • 68
  • 205
  • 290
0
votes
4 answers

Iphone work out if string is a UK Postcode

In my app before I send a string off I need to work out if the text entered in the textbox is a UK Postcode. I don't have the regex ability to work that out for myself and after searching around I can't seem to work it out! Just wondered if anyone…
MissCoder87
  • 2,669
  • 10
  • 47
  • 82
0
votes
1 answer

First part of postcode

I want user to search by postcode, they could enter full postcode (eg: UB100PE / UB10 0PE) or first part of postcode (UB10) I will use getUKPostcodeFirstPart("UB100PE") to get first part of postcode Ref: getUKPostcodeFirstPart() by LazyOne I want…
I'll-Be-Back
  • 10,530
  • 37
  • 110
  • 213
0
votes
1 answer

google maps boundary borders of regions

This is more of a research question than a technical question. First I need to be able to draw sections of the uk like in this example : (http://blog.codebrain.co.uk/posts/uk_postcode_selector/postcode_selector.html) Is there anywhere that has lat /…
jaget
  • 2,149
  • 6
  • 21
  • 29
0
votes
1 answer

Get postal code from geo location in Google Maps

Is it possible to find the nearest postal code using geo location search? Say, if I have lat/lng data to a house, can I get the postal code of said house using the Google Maps API?
o01
  • 5,191
  • 10
  • 44
  • 85