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
5
votes
4 answers

WooCommerce - disable postcode validation

Does anybody know how to disable the Postcode validation on the checkout page in WooCommerce? My country is set up as Switzerland, but I want also people from Austria and Germany allow to order. So when I enter a German Postcode with 5 digits (in…
marcelgo
  • 85
  • 1
  • 1
  • 5
5
votes
2 answers

FInd a US street address in text (preferably using Python regex)

Disclaimer: I read very carefully this thread: Street Address search in a string - Python or Ruby and many other resources. Nothing works for me so far. In some more details here is what I am looking for is: The rules are relaxed and I definitely am…
bzdjamboo
  • 555
  • 3
  • 6
  • 15
4
votes
5 answers

How to get geolocation from a UK postal code

I have a PHP script at the moment which allows users to enter a UK postcode. I was wondering if there was a way I could get their geolocation from the postcode they enter. (Through Google's API or something?) I have tried…
Peter Stuart
  • 2,362
  • 7
  • 42
  • 73
4
votes
1 answer

Is there a way to speed up querying latitude-longitude of postcodes on a large dataframe using pgeocode?

I have a dataframe of around 100k rows with postcodes and country codes. I would like to get the latitude and longitude of each location and save it in two new columns. I have a working code on a sample of the dataframe (e.g. 100 rows), but running…
volkan g
  • 186
  • 10
4
votes
4 answers

Custom SQL sort by

Use: The user searches for a partial postcode such as 'RG20' which should then be displayed in a specific order. The query uses the MATCH AGAINST method in boolean mode where an example of the postcode in the database would be 'RG20 7TT' so it is…
DevilBarb
  • 65
  • 2
  • 9
4
votes
0 answers

How do I get the location data of a Twilio IncomingPhoneNumber using the REST API

In the Twilio API, when searching AvailablePhoneNumbers, I get all sorts of location data (such as LATA, PostalCode, Latitude, Longitude, etc). Once I buy the number and query it through the IncomingPhoneNumber resource, this data is no longer…
Sionide21
  • 2,202
  • 2
  • 21
  • 30
4
votes
1 answer

How can I validate worldwide postal codes in my .NET code

I am looking for a way to validate worldwide postal codes in my .NET project, and I don't really want to come up and maintain regular expressions for the whole world. Preferably I would want to pull in a dependency to a library or in the worst case…
4
votes
5 answers

UK Royal Mail PAF address finder via postcode alternatives?

We need an address finder (premise level) based on postcode. We have a budget of 40k for this. But I have been assigned to find some cheaper alternatives for Royal mail PAF database. Is Google any good to find premise level address when you send…
Naren
  • 288
  • 1
  • 3
  • 17
4
votes
2 answers

Check if Zip Code or postal code is real

After some searching, I haven't been able to find a definite answer. If I am given a zip code like 11111, it is technically a valid zip code but it doesn't exist. Is there a way to check this? The same goes for a postal code like a1a a1a (valid but…
Siva
  • 1,256
  • 3
  • 13
  • 29
4
votes
7 answers

Need to find latitude and longitude of postcodes and store into my database

I’ve got a database full of UK Postcodes, now I’d like to be able to store the latitude and longitude of these specific postcodes along with the record with the database. Is there any way that I can obtain this data free without violating any…
phpNutt
  • 1,529
  • 7
  • 23
  • 40
4
votes
6 answers

How to correctly match UK postcodes by prefix?

I have a number of restaurants who all deliver to certain postcode areas in London, for example: EC1 WC1 WC2 W1 When someone searches for a restaurant that delivers to their home, they enter their full postcode. Some people enter the postcode…
BenMorel
  • 34,448
  • 50
  • 182
  • 322
4
votes
1 answer

Angular ng-pattern regex code for US Zipcodes and Canadian Postal codes

I could anybody help me out? I am looking for some regexp to use to validate US Zip codes and Canadian Postal codes in AngularJS
Sonia Brami
  • 127
  • 1
  • 1
  • 10
4
votes
1 answer

Post Code Not appearing on AutoComplete Box Google Map?

I am trying to Show POST-CODE Information on AutoComplete Box. For Eg: If User look into into Address: 25 Cordwallis Road,Madienhead,SL6 7DQ... It Could Retrieve Postal Code also. function initialize() { directionsDisplay = new…
4
votes
1 answer

i want specific area name provided pincode of that area

I need name of an area and city I pass the postal code as a parameter. For example I tried http://maps.google.com/maps/api/geocode/json?address=382340&components=country:in&sensor=false for a postal code in India. Although this is giving multiple…
4
votes
7 answers

Good examples of UK postcode lookup flow

I'm looking for a good, well designed flow of a UK postcode lookup process as part of registration for an eCommerce account. We're redesigning ours and want to see what is out there and how I can make it as friendly as possible. --Update-- Basically…
Kieran Benton
  • 8,739
  • 12
  • 53
  • 77
1 2
3
26 27