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

Google Api key location and address solution

I am developing a mobile app and website that allow users to advertise their items only in the UK. However, I don't want the return address to show the full address of the seller on the advert but instead should show the town and the city For…
-1
votes
2 answers

Postcode / Address finder

Like a lot of people I would like the Post Office PAF file for Postcode to Address data. What I have at the minute is the Postcode to O/S coordinates file. Are there any solutions for getting this type of data ? Could I rip any credible data from a…
Mick
  • 2,840
  • 10
  • 45
  • 61
-1
votes
1 answer

JS Regex match Canadian postal code from string

I would like to find the alphanumeric canadian postal code from a string. A string such as H9B2R1|taco|salsa|taco or if encoded, H9B2R1%7Ctaco%7Csalsa%7Ctaco. The result I'm looking for is the trimmed postal code before any special characters and/or…
user3361996
  • 373
  • 3
  • 14
-1
votes
1 answer

OS Data Hub - Postcode from Grid Reference

I look after the website for a walking club in SW England, which shows a list of forthcoming walks. Each walk entry has an OS Grid Reference for the start of the walk, and a UK Postcode which a walker can enter to their SatNav device, to help them…
-1
votes
1 answer

Sudden error in ReadOGR() for a shapefile of UK postcode areas

I have been using readOGR() to load in a shapefile of UK postcodes by region (Areas), downloaded from this website : https://www.opendoorlogistics.com/downloads/ uk_maps <- readOGR(".", "Areas") Which loaded in the .dbf, .fix, .prj, .shp, .shx…
Cameron
  • 85
  • 6
-1
votes
1 answer

Get list of address dont have UK address mysql

I have a MySQL table contains a list of UK address, I was trying to get the list of address doesn't have a postcode. I the list, we can see some of them don't have postcode at the end. I was written a query as follows and didn't get the expected…
Shijin TR
  • 7,516
  • 10
  • 55
  • 122
-1
votes
1 answer

Matching postcode to index of deprivation

I have a list of UK postcodes in my dataset, and I would like to convert them to their deprivation index. This website does it http://imd-by-postcode.opendatacommunities.org/imd/2019 but I need it to be done in R, rather than manually entering 1000s…
Gabriella
  • 421
  • 3
  • 11
-1
votes
1 answer

How to fix getPostalCode-null?

I want to get the zip code of the address located by my phone through address, but null is returned. The phone has turned on the GPS, the location information can be obtained, but the zip code can not be obtained. /** * Convert Location to…
-1
votes
1 answer

Validate town and postal code string against a certain format using JavaScript's RegEx

I get an input for a town name and postal code. I want to check if this input is in the correct format (specified below). Checking if the town exists is not needed. I wanted to use a RegEx (Regular Expression) to check it, but I couldn't find a…
DataCent
  • 39
  • 8
-1
votes
4 answers

Mysql Search Postcodes

I want to create a mysql search query, that will search for postcodes here is what i have done so far SELECT * FROM orders where ( InvoicePostcode LIKE 'b%' OR InvoicePostcode LIKE 'ws%') order by InvoiceNumber asc I want to display only postcode…
bean2k1
  • 1
  • 1
-1
votes
1 answer

How to fully validate a postcode?

I'm trying to validate a postcode in the format 'LLNN NLL'. L for letter and N for number. I think I have to use re.match () but I'm not entirely sure. Thanks
-1
votes
1 answer

individual house price transactions with multiple postcodes SPARQL query

I have a list of about 900 postcodes for each solar farm in England and Wales. I would like to find the house prices for each postcode, to see how house prices may have changed after the solar farms were implemented. I have been given a query which…
rjo93
  • 15
  • 1
-1
votes
1 answer

Google map api geocoder.geocode return the same value

I want to get latitude and longtitude from multi postcode, but when I loop through postcode array to call geocoder.geocode method, it returns the same latitude and longtitude value. My source code is below var postcodeList = [ {postcode: "ON…
-1
votes
3 answers

Java Canadian Postal Code Program,

I am writing a program using gui that will validate if a postal code is correctly formated, like K2S, 1W3. But, if i input something like K2S 1W3333333, it will still validate it. Here is my Program: @Override public void…
JimmyJeans
  • 1
  • 1
  • 2
-1
votes
2 answers

Geocode returns postal_code null for certain address

Geocode returns postal_code value null for certain addresses and I am not able to do reverse address lookup to retrieve the zip at that level. An example address is "Peachtree Dunwoody Road, Atlanta, GA, United States" There is no street number;…