473,386 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Can anybody share me the Canadian PostCode Database

xhe
I am now developing a website which needs Canadian PostCode Database.
I can certainly buy one, but that will cost my hundered of $$, and my
website is only for education purpose, it won't make money. So I am
afraid I can not affort it.
Are there any good friends who can share me with you Canadian PostCode
database, I need the longitude and latitude included in the DB.
Thank you very very much in advance.
If you still have other country's postcode DB which includes longitude
and latitude, can you please also show me? Thanks again for help.
Frank

Mar 13 '07 #1
12 1890
xhe wrote:
I am now developing a website which needs Canadian PostCode Database.
I can certainly buy one, but that will cost my hundered of $$, and my
website is only for education purpose, it won't make money. So I am
afraid I can not affort it.
Are there any good friends who can share me with you Canadian PostCode
database, I need the longitude and latitude included in the DB.
Thank you very very much in advance.
If you still have other country's postcode DB which includes longitude
and latitude, can you please also show me? Thanks again for help.
Frank
Frank,

If it's like the U.S. Postal Code database, this is commercial
information. Sharing it would be illegal.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Mar 14 '07 #2
On Mar 13, 8:40 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
xhe wrote:
I am now developing a website which needs Canadian PostCode Database.
I can certainly buy one, but that will cost my hundered of $$, and my
website is only for education purpose, it won't make money. So I am
afraid I can not affort it.
Are there any good friends who can share me with you Canadian PostCode
database, I need the longitude and latitude included in the DB.
Thank you very very much in advance.
If you still have other country's postcode DB which includes longitude
and latitude, can you please also show me? Thanks again for help.
Frank

Frank,

If it's like the U.S. Postal Code database, this is commercial
information. Sharing it would be illegal.
You mean like this US zipcode list available from the Census Beureau:
http://www.census.gov/geo/www/tiger/zip1999.html

(it's a little outdated but still good)

And I am sure if you look around there is some government agency (or
is it Ministry, never can get that straight) with such public data.

Mar 14 '07 #3
Rik
<la***@portcommodore.comwrote:
And I am sure if you look around there is some government agency (or
is it Ministry, never can get that straight) with such public data.
With the data: yes, with _public_ data: no.
In most countries it's also not a government agency but a private postal
company which provides such data. It's no cheap business keeping it
up-to-date, field agents a plenty are necessary.

If buying the database is to expensive for you, you might want to check
out options where you can query a third party with an API, where you only
pay 'per request'. Lot's of those around too.

--
Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions: http://tinyurl.com/anel
Mar 14 '07 #4
Rik wrote:
<la***@portcommodore.comwrote:
>And I am sure if you look around there is some government agency (or
is it Ministry, never can get that straight) with such public data.

With the data: yes, with _public_ data: no.
In most countries it's also not a government agency but a private postal
company which provides such data. It's no cheap business keeping it
up-to-date, field agents a plenty are necessary.

If buying the database is to expensive for you, you might want to check
out options where you can query a third party with an API, where you
only pay 'per request'. Lot's of those around too.

--Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions: http://tinyurl.com/anel
There is a simple Google Maps API that returns the lat/lon of a
location specified with the postal code or address. It is free
up to 5,000 requests per day. Easy/simple works a treat.

Google Google Maps API and look for the simple lat/lon request.

bill
Mar 14 '07 #5
la***@portcommodore.com wrote:
On Mar 13, 8:40 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>xhe wrote:
>>I am now developing a website which needs Canadian PostCode Database.
I can certainly buy one, but that will cost my hundered of $$, and my
website is only for education purpose, it won't make money. So I am
afraid I can not affort it.
Are there any good friends who can share me with you Canadian PostCode
database, I need the longitude and latitude included in the DB.
Thank you very very much in advance.
If you still have other country's postcode DB which includes longitude
and latitude, can you please also show me? Thanks again for help.
Frank
Frank,

If it's like the U.S. Postal Code database, this is commercial
information. Sharing it would be illegal.

You mean like this US zipcode list available from the Census Beureau:
http://www.census.gov/geo/www/tiger/zip1999.html

(it's a little outdated but still good)

And I am sure if you look around there is some government agency (or
is it Ministry, never can get that straight) with such public data.
Oh, you mean the one that's eight years old and therefore useless?

Zipcodes change daily. Updates come out quarterly. So that's about 30
updates behind, plus or minus.

So no, it's not "still good" for serious work. I would *never* want a
customer to see "I'm sorry, your zip code does not exist".

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Mar 14 '07 #6
On Mar 14, 12:11 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
l...@portcommodore.com wrote:
On Mar 13, 8:40 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
xhe wrote:
I am now developing a website which needs Canadian PostCode Database.
I can certainly buy one, but that will cost my hundered of $$, and my
website is only for education purpose, it won't make money. So I am
afraid I can not affort it.
Are there any good friends who can share me with you Canadian PostCode
database, I need the longitude and latitude included in the DB.
Thank you very very much in advance.
If you still have other country's postcode DB which includes longitude
and latitude, can you please also show me? Thanks again for help.
Frank
Frank,
If it's like the U.S. Postal Code database, this is commercial
information. Sharing it would be illegal.
You mean like this US zipcode list available from the Census Beureau:
http://www.census.gov/geo/www/tiger/zip1999.html
(it's a little outdated but still good)
And I am sure if you look around there is some government agency (or
is it Ministry, never can get that straight) with such public data.

Oh, you mean the one that's eight years old and therefore useless?

Zipcodes change daily. Updates come out quarterly. So that's about 30
updates behind, plus or minus.

So no, it's not "still good" for serious work. I would *never* want a
customer to see "I'm sorry, your zip code does not exist".

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
you could easily write a script that uses MSN, google maps, multimap,
mp24 etc... posting the postcode and parsing the response for the lat/
long with reg exp. Check to see if that would be against their terms
of course, ahem.
But some map servers send the lat lon as headers because they know
people use them in this way, I have seen at least one major website
which does this. then you just need to submit a head request.

Mar 14 '07 #7
Jerry Stuckle wrote:
la***@portcommodore.com wrote:
>On Mar 13, 8:40 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>>xhe wrote:
I am now developing a website which needs Canadian PostCode Database.
I can certainly buy one, but that will cost my hundered of $$, and my
website is only for education purpose, it won't make money. So I am
afraid I can not affort it.
Are there any good friends who can share me with you Canadian PostCode
database, I need the longitude and latitude included in the DB.
Thank you very very much in advance.
If you still have other country's postcode DB which includes longitude
and latitude, can you please also show me? Thanks again for help.
Frank
Frank,

If it's like the U.S. Postal Code database, this is commercial
information. Sharing it would be illegal.

You mean like this US zipcode list available from the Census Beureau:
http://www.census.gov/geo/www/tiger/zip1999.html

(it's a little outdated but still good)

And I am sure if you look around there is some government agency (or
is it Ministry, never can get that straight) with such public data.

Oh, you mean the one that's eight years old and therefore useless?

Zipcodes change daily. Updates come out quarterly. So that's about 30
updates behind, plus or minus.

So no, it's not "still good" for serious work. I would *never* want a
customer to see "I'm sorry, your zip code does not exist".
OP kind of said "for educational purpose".
Mar 15 '07 #8
xhe wrote:
I am now developing a website which needs Canadian PostCode Database.
I can certainly buy one, but that will cost my hundered of $$, and my
website is only for education purpose, it won't make money. So I am
afraid I can not affort it.
Are there any good friends who can share me with you Canadian PostCode
database, I need the longitude and latitude included in the DB.
Thank you very very much in advance.
If you still have other country's postcode DB which includes longitude
and latitude, can you please also show me? Thanks again for help.
Frank
Can you query CanadaPost ? It gives you 16kb of HTML you have to parse
information out of.
Mar 15 '07 #9
On 15 Mar, 07:40, Roman <m...@dipmicro.comwrote:
xhe wrote:
I am now developing a website which needs Canadian PostCode Database.
I can certainly buy one, but that will cost my hundered of $$, and my
website is only for education purpose, it won't make money. So I am
afraid I can not affort it.
Are there any good friends who can share me with you Canadian PostCode
database, I need the longitude and latitude included in the DB.
Thank you very very much in advance.
If you still have other country's postcode DB which includes longitude
and latitude, can you please also show me? Thanks again for help.
Frank

Can you query CanadaPost ? It gives you 16kb of HTML you have to parse
information out of.
If you are lucky one of the ways will be a GET request with
pcode=blah, which will return html with links of the form
http://server.com/church_overlay?lat=52&lon=-12 or whatever, so find a
page that effectively offers URLs within the markup that use lat and
lon equicalent to your post code, then parse the marup for all urls,
and grab the one which has lat and lon in the query string.
This is fast and doesnt depend on the way the page is organised (or
reorganised) just on the presense of the URLs. Have this as a fall
back if the postcode cannot be found via other means, (it wont be
quite fast enough for prod use) update your db with the data for next
time, and gradually add "providers" in this way. This gets round the
use of an old database, updates tend to be new additions, more than
replacements, so an old db is useful and when you receive a request
for a postcode you dont have even an approximation for, the extra hit
of 1 second or so is probably worth it rather than sending "unknown"
back.
If anyone's interested and mails me I have a 42k place name sql table
for the UK, and a list of the first part of the uk postal codes I've
been using since mid '04. This would be useful for general distance
calcs - in the UK, 42k is all it takes to pretty much get the tiniest
settlement.

Mar 15 '07 #10
Roman wrote:
Jerry Stuckle wrote:
>la***@portcommodore.com wrote:
>>On Mar 13, 8:40 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
xhe wrote:
I am now developing a website which needs Canadian PostCode Database.
I can certainly buy one, but that will cost my hundered of $$, and my
website is only for education purpose, it won't make money. So I am
afraid I can not affort it.
Are there any good friends who can share me with you Canadian PostCode
database, I need the longitude and latitude included in the DB.
Thank you very very much in advance.
If you still have other country's postcode DB which includes longitude
and latitude, can you please also show me? Thanks again for help.
Frank
Frank,

If it's like the U.S. Postal Code database, this is commercial
information. Sharing it would be illegal.

You mean like this US zipcode list available from the Census Beureau:
http://www.census.gov/geo/www/tiger/zip1999.html

(it's a little outdated but still good)

And I am sure if you look around there is some government agency (or
is it Ministry, never can get that straight) with such public data.
Oh, you mean the one that's eight years old and therefore useless?

Zipcodes change daily. Updates come out quarterly. So that's about 30
updates behind, plus or minus.

So no, it's not "still good" for serious work. I would *never* want a
customer to see "I'm sorry, your zip code does not exist".

OP kind of said "for educational purpose".
I don't care if it is for educational purposes. I still wouldn't want
my customers to see "I'm sorry, your zip code does not exist" because
I'm using an 8-year old database.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Mar 15 '07 #11
>>Oh, you mean the one that's eight years old and therefore useless?
>>>
Zipcodes change daily. Updates come out quarterly. So that's about 30
updates behind, plus or minus.

So no, it's not "still good" for serious work. I would *never* want a
customer to see "I'm sorry, your zip code does not exist".

OP kind of said "for educational purpose".

I don't care if it is for educational purposes. I still wouldn't want
my customers to see "I'm sorry, your zip code does not exist" because
I'm using an 8-year old database.
So never give out that error message.

In the USA, zip codes are clustered by the first 3 digits. If you don't
recognize a specific 5-digit zip code, use the 3-digit version. It's
less accurate, but it should get you in the general area. I'm not sure
if there are any 3-digit combinations that aren't in use for an actual
geographic area.

I don't know whether the same locality applies to Canada.

Mar 16 '07 #12
Sharing is illegal for commercial information. You can acquire the
database from the authorized licensee such as http://www.zipcodeworld.com

Mar 25 '07 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Lapchien | last post by:
I have a field for a postcode. I'd like another field to auto contain an 'area' number, based on the first part (only) of the postcode. For example, if a postcode LS4 4DJ was entered, another...
1
by: ExcelConfussed | last post by:
Hi, I want to design a database which I then want to use on a website were users can search information by postcode. Example if they enter TW9 6LB then the database should bring up information...
10
by: jeff regoord | last post by:
A user inputs a float value. The scanf() function gets the value. However, I need to create an error handler with an if else statement saying invalid input if the input is not a number. Does...
5
by: Alan | last post by:
Hi, I'm getting as bit confused with my queries. I simply (!) want to insert a space into a postcode field the 4th character from the right, so, for example, ML201TQ becomes ML20 1TQ, which is...
4
by: Dave | last post by:
Hi I want to add functionality to my site so that customers can type in a postcode and we can tell them the "nearest store" in our database. I have noticed there are loads of sites on the net...
6
by: Julian | last post by:
Hi, I am a very beginner in databases. I created a database table in Access 2003 and OOo 2.03 that includes name, address, postcode, phone numbers etc of our customers. I would like to sort...
5
by: billynastie2007 | last post by:
Hi i am writing a balloon race site and i am having problems with some functions to calculate the distance the balloon travels firstly i am reading my info from the database using the fetch assoc...
0
by: Pinna | last post by:
Hiya, I am trying to select based on a range on postcode on a table. The field POSTCODE is a varchar2(8). The problem is when refinng on 'where postcode between 'PE1' and 'PE29'', because this is...
1
by: dominicowen | last post by:
Hi, I have a customer database in Access 2003 with customers postcodes. What I want to do is type in a postcode on access and it will link the postcode on to googlemaps without having to type...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.