Geocoding Australian Postcodes
A recent project has required the latitude and longitude and geographical coordinates of all of the Australian postcodes. This data doesn't seem to be freely available anywhere, however the Australian Post office maintains a csv file of all the postcodes and make it available from Auspost.com.au in the form of the Postcode Datafile.
We took this, put it in a database and looped over it using Googles geocoding service to lookup a coordinate for each and every entry - that's 16,079 to you and me.
Of all these 16079 Google couldn't get a result for 647 of them, mostly I believe because they are post office sorting offices or PO boxes that dont necessarily relate to a geographical address. There were also a few erroneous entries, that ended up in Europe, so these have been removed from the final version.
We managed to get through it in 2 days, mostly because we sent no more than 1 request per second to Google so we wouldn't get blocked.
Attached is a zip with the kml file for Google Earth (this is REALLY cool) and a csv file with the data in.


I had a lot of trouble finding a mapping between Australian postcodes and
geographic co-ordinates. Cheers
For example, Alice Springs is located at Darwin in the Data, & Elliot, NT is located at Alice Springs in the Data.
The locations for the xxx0 & xxx1 postcode vary by a lot (eg look at lat/long Sydney postcodes 2000 & 2001)
Simply, if a result was found we used it. I certainly haven't had the time to go through it all and ensure the coordinates are accurate.
If people find inaccuracies, rather than just stating the fact, they could possibly update a correction hint hint to whoever whinged about this!
I have used it to visualise groups of postcodes.
Thank you!!
Was thinking about writing a script to do the same thing, but was extremely happy to find that someone already had the same idea.
Much appreciated.
Chris