[Melbourne-pm] Postcode verification

David david at naturalpractice.com.au
Wed Feb 14 21:43:04 PST 2007


Hi,

I built a small database with the longitude and latitude of every
postcode in Australia by querying the Google Maps API for just that reason.

Cheers,

DB

Tim Hogard wrote:
>> Leigh Sharpe wrote:
>>     
>>> Hi All,
>>>  Does anybody know of any method of looking up Australian postcodes?
>>> I need to validate the input on a postal address, and confirm that the 
>>> postcode given for the suburb is correct.
>>> A quick search of CPAN doesn't yield anything promising.
>>>       
>> Neither of these do what you're asking for, but they may be useful.
>>
>> 	Regexp::Common::zip  can verify the _format_ of Australian postcodes
>> 	Geo::PostalAddress   can be used to verify/generate addresses in
>> 	                      Australian format
>>
>> If you write a module to deal with AusPost's database, you may want to work in 
>> the Geo::Postcode:: name space, and to conform to their existing interface.
>>     
>
> I wonder how many web sites would have better "find the nearest office"
> if any of the free data had coordinates in it as well.
>
> -tim
> http://web.abnormal.com
> _______________________________________________
> Melbourne-pm mailing list
> Melbourne-pm at pm.org
> http://mail.pm.org/mailman/listinfo/melbourne-pm
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/melbourne-pm/attachments/20070215/746fda1a/attachment-0001.html 


More information about the Melbourne-pm mailing list