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
3
votes
3 answers

How to implement proximity search with postcode?

I have to use proximity search with postcode for Australia. Going through some links like http://www.randommouse.com/rms/about/product/FNDRY/docs/tutorial/08/how-to-add-google-maps-to-your-review-site-intro.html I found that I have to manage the…
user75472
  • 1,277
  • 4
  • 28
  • 53
3
votes
2 answers

postcode search for nearest location

Can someone please tell me how to add a list of UK locations to a google map, and then using a postcode search for the nearest one. I have a google api, can anyone please help? Many thanks UPDATE: Many thanks for your replies. I have a CSV file…
Bomber
  • 10,195
  • 24
  • 90
  • 167
3
votes
2 answers

How do I utilise longitude/latitude values efficiently in Mysql?

Thanks to Wikileaks, here in the UK we can now access our longitude and latitude co-ordinates for each post code wikileaks postcodes uk IMPORTANT. Do not use this data in public applications - There's concern that the data has been deliberately…
DBMarcos99
  • 465
  • 3
  • 12
3
votes
1 answer

WebRequest: How to find a postal code using a WebRequest against this ContentType="application/xhtml+xml, text/xml, text/html; charset=utf-8"?

I first posted this: HttpWebRequest: How to find a postal code at Canada Post through a WebRequest with x-www-form-enclosed?. Following AnthonyWJones suggestions, I changed my code following his suggestions. On a continuation of my inquiry, I have…
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
3
votes
2 answers

HttpWebRequest: How to find a postal code at Canada Post through a WebRequest with x-www-form-enclosed?

I'm currently writing some tests so that I may improve my skills with the Internet interaction through Windows Forms. One of those tests is to find a postal code which should be returned by Canada Post website. My default URL setting is set to:…
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
3
votes
1 answer

Google map street view with postcode

I am trying to apply Singapore postal code in goggle street map. I am passing postal code in location variable but when I change postcode, map location can’t change. Don’t know where I am wrong. Please help. Here is some post code of Singapore:…
lumos
  • 745
  • 2
  • 11
  • 22
3
votes
3 answers

Best method for working out locations within a radius of starting point

I'm aiming to create a feature in my latest project preferably using PHP. When each user signs up they are going to input their postcode. Then hopefully I will be converting this to lat/long using Open Street Map. Anyway, I want to be able to find…
user140291
2
votes
1 answer

How can I create an absurdly simple 'find nearest' zip code app without using maps?

Specifically because of server restrictions for this project I cannot use anything like Google maps. I cannot use a database. I only have access to PHP 4.39 and FTP. Zip/postal codes are in a CSV file. The idea I had is the user types in their…
Calydon
  • 251
  • 1
  • 9
2
votes
2 answers

Use Regex to identify patterns in UK Postcodes

For any UK postal code I want to replace all letters with capital A and all digits with 9. For example CH5 1EF would become AA9 9AA EC1N 4DH would become AA9A 9AA Is this possible in a single RegEx.Replace or would I have to have two separate…
Dave Poole
  • 1,028
  • 8
  • 13
2
votes
2 answers

show postal code/zip code bounds on google map

I would like to mark the outline (bounds) of a postal code on a map. With google maps API, I can send a postal code or address and get back log/lat, then place a icon on a map. Now I would like to make a box or polygon around the entire area…
Mustapha George
  • 2,497
  • 9
  • 47
  • 79
2
votes
1 answer

using jquery to validate postal code based on country

Working on site where we currently accept US zip codes. I already have jquery validate working for that. What i want to do now is add a drop down for the user to select country, and then based on the country they selected, it will validate the…
merk
  • 1,721
  • 5
  • 23
  • 39
2
votes
2 answers

Mysql Subquery - Need to make a connection between two like queries in order to Count Occurrences of Postal Codes and Zip Codes

I'm having a bit of an issue figuring this out. I have two queries that I need to put together and no matter what I've tried I always end up with an error in mysql syntax. The two queries are below. Query 1 - this is for canadian postal…
Fred B.
  • 45
  • 3
2
votes
3 answers

Get postal code from full address column in dataframe by regex str.extract() and add as new column in pandas

I have a dataframe with full addresses in a column, and I need to create a separate column with just the postal code of 5 digits starting by 7 in the same dataframe. Some of the addresses may be empty or postal code not found. How do I split the…
2
votes
1 answer

WooCommerce prevent checkout until post code entered

Trying to prevent customers from the "Proceed to payment" button until the postcode has been entered. However, I found that with the function below that if you change quantity and update cart - the function no longer works and you can proceed with…
Viktor Fonster
  • 121
  • 1
  • 3
  • 14
2
votes
2 answers

R Regex for identifying UK postcodes

My question is similar to this, but I'm looking for something R specific. I've got a data.frame of tens of thousands of addresses and need to pull out the postcodes. Postcodes are in the UK and formatted {LETTER_LETTER_DIGIT LETTER_LETTER_DIGIT}.…
elliot
  • 1,844
  • 16
  • 45