Java Glossary : postal code

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

You are here : home : Java Glossary : P words : postal code.

postal code
Canada's equivalent to the Zip code. A typical postal code is V3M 5T9, starting with a letter and alternating letters and digits. The first three characters are called the FSA (Forward Sortation Area) and the last three the LDU (Local Delivery Unit). Letters A-Z are allowed except DFIOQU. In addition, W and Z are not allowed in the first position. Unfortunately, there are no freely available tables of valid postal codes, though there is plenty of proprietary software for looking up addresses to get the postal code.

I have yet to find any lookup or validation software with a suitable interface to allow it to be seamlessly integrated into custom software. I have been repeatedly screwed in the ear by vendors promising such an interface if I would buy the product, then not delivering. You end up cutting and pasting to a separate application both to supply the address and to get the resulting postal code -- very clumsy. The post office has an online lookup service. That is probably your best bet for seamless integration.

Digimap offers a list of the legal FSAs in a text file for $500.00 CAD This can be used for data validation, but not automatic postal code lookup.


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 989.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/postalcode.html J:\mindprod\jgloss\postalcode.html