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
0
votes
1 answer

The autofill field name “postal-code” is not allowed in this context

im currently trying to optimize my forms on my Webpage. The HTML Validator gives me the following error: The autofill field name “postal-code” is not allowed in this context. I dont know why, since it does what it should. The autofill inserts…
Schesam
  • 583
  • 5
  • 19
0
votes
1 answer

International Database for Zip/Postal Code to city/state|region/country?

Does anyone know of an international zipcode/postal code to city, state or region and country database? Free would be nice, but that seems unlikely. (There are several questions regarding domestic US zipcodes, but I'd like to include the UK, Germany…
3Dave
  • 28,657
  • 18
  • 88
  • 151
0
votes
1 answer

php codeigniter postcode search!

I am based in UK and I want to implement a postcode search box in my website. I have the database downloaded from http://www.easypeasy.com/guides/article.php?article=64. I have a question to ask, which I am sure is very silly for most of the experts…
Maverick
  • 2,738
  • 24
  • 91
  • 157
0
votes
3 answers

City or post code search in same field

I have a search form containing both city and postcode fields. The search is queries a mysql database and returns relevant results. To make things easier for the user is it possible to combine these two and allow either cities or postcodes to be…
Haribo83
  • 155
  • 2
  • 13
0
votes
2 answers

PHP MySQL nearest to postcode

Hello I found this article which is helpful but unfortunately I cannot get it to work. http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/ I have a list of stores in a MySQL table with…
Rob
  • 1
  • 1
0
votes
1 answer

flatsome WooCommerce change postcode to dropbox

im new in WordPress i wan to change my WooCommerce check out form postcode to dropdown box.. im using the solution given online but it's not work on my page.. pls help me. here the code i put inside flatsome child function file. add_filter(…
dcpress
  • 1
  • 1
0
votes
0 answers

Cross Referencing Postcodes from a Temp Table

quite new to SQL so please bear with me I'll explain as best I can. I have property data, containing a huge list of properties, full UK postcode and all sorts of other data. I am simply doing a number of aggregations, for example, how many…
0
votes
1 answer

Pull back specific post codes from table in SQL

I'm having an issue in selecting specific post codes. These are all valid UK post code formats: WV11JX WV1 1JX WV102QK WV10 2QK WV113KQ WV11 3KQ Now, say I had a mix of the above formats in the data table; I'm trying to select only post codes that…
user6911980
0
votes
1 answer

How can I get state/province codes for the postal codes in python?

I have a list of US postal codes. I want to obtain their Province code in python. For example : '66002' should give 'KS', '94611' should get 'CA' and likewise. Is there a function available in python that can facilitate this query?
0
votes
0 answers

How do I make use of postcode regex in PHP?

I'm trying to validate a UK postcode. How do I make use of the chosen answer in the following question via PHP? RegEx for matching UK Postcodes [Gg][Ii][Rr]…
user1228907
  • 369
  • 2
  • 6
  • 16
0
votes
0 answers

How to store postcode which are splitted into areas

I have some issue with figured out how to store postcodes which are splitted into different areas. Example: postcodes between 97000 to 98000 are related to one area, but postcodes between 01000 to 09000 are in second area and so on. I have list all…
noname
  • 565
  • 6
  • 23
0
votes
1 answer

Pythonic way to extract and replace text in Dataframe

I have a dataframe containing user-submitted postcodes, many of which aren't in the desired format I need to look them up with the Google Maps Geocoder API to get associated co-ordinates. I have thus attempted to format it to return them in the…
user3058703
  • 571
  • 1
  • 8
  • 22
0
votes
3 answers

Output a re.findall() to CSV in addition to all input data

I am trying to save the results of a regex .findall() search into a csv but am having difficulties appending the result to an output file. As I am still very new to Python I am attempting to limit this problem to using only the csv and re libraries…
Scottie
  • 5
  • 5
0
votes
1 answer

Find nearby postcode with a base postcode

This is with reference to this question: Find UK PostCodes closest to other UK Post Codes by matching the Post Code String --User wants to get all postcodes nearby B193SH -- Postcode = 'B193SH' -- Latitude = 52.488460 -- Longitude =…
DoomerDGR8
  • 4,840
  • 6
  • 43
  • 91
0
votes
2 answers

Find UK PostCodes closest to other UK Post Codes by matching the Post Code String

Here is a question that has me awake for a number of days now. The only conclusion I came up so far is that Red Bull does not usually help coders. I have a scenario in my application where I have a couple of jobs (1 to 50). The job has an address…
DoomerDGR8
  • 4,840
  • 6
  • 43
  • 91