Main Page | Report this Page
 
   
Science Forum Index  »  Geology - Satellite Navigation Forum  »  Australia & NZ: Post code --> LAT LON (floating point) ... w
Page 1 of 1    
Author Message
Max Power
Posted: Sun Dec 31, 2006 5:04 pm
Guest
Australia & NZ: Post code --> LAT LON (floating point) ... where do I find
the coord sets?
Marc Brett
Posted: Mon Jan 01, 2007 5:01 am
Guest
On Sun, 31 Dec 2006 13:04:43 -0800, "Max Power" <mikehack@u.washington.edu>
wrote:

Quote:
Australia & NZ: Post code --> LAT LON (floating point) ... where do I find
the coord sets?

A rather obtuse route for NZ but maybe hackers can improve on it:

From the NZ Post online postcode finder, we find the map is generated with
Multimap. The URL boils down to this, eg postcode 7011 [Stoke]

http://www.multimap.com/clients/browse.cgi?client=nzpost_01&g_postcode=7011

View the HTML source code and you'll see

<input type="hidden" name="lon" value="173.24322" />
<input type="hidden" name="lat" value="-41.30971" />

Rinse, repeat for every postcode in:

http://www.nzpost.co.nz/nzpost/images/addressing.nzpost/pdfs/postcodedirectory_nomaps.pdf

There is a homegrown SQL database of NZ postcodes at http://www.noodles.net.nz/
which may help the hackers. Indeed, the database could be improved by farming
the Multimap database for lats and lons...
 
Page 1 of 1       All times are GMT - 5 Hours
The time now is Thu Jan 08, 2009 3:13 pm