• welcome
  • portfolio
  • our apps
  • blog
  • get in touch
Category

Programming

19 MAR

Australian Postcode Location Data

  • admin
  • March 19, 2013
  • PHP, Programming

We found this data quite hard to come by freely so we thought we’d put it up here for everyone to enjoy. As far as we’re aware there is no copyright attached to the original data (we obtained it from a free source). Both the original CSV is available zipped below and contains Postcode, Suburb, Latitude and Longitude, a MySQL dump of the data is also available in a Zip file below. You can also download the PHP functions we coded to interface with the MySQL database. Simply call the postcode_dist() function with the two postcodes as shown in the example and you’ll have a result in Kilometers returned quite quickly, these functions are freely available under the BSD licence.

Please feel free to contact us regarding any errors or copyright issues. We have only done limited testing of the data and can’t be sure of it’s accuracy but it seems pretty good.

PLEASE NOTE: THIS DATA IS NOW OUT OF DATE BY QUITE A BIT. We are working on an update to be released in the coming weeks.

  • Australian Postcodes CSV File – Zip (292kb)
  • Australian Postcodes MySQL Dump File – Gz (286kb)
  • Australian Postcodes PHP Functions – Zip (2kb)
  • Australian Postcodes PHP Functions – Plain Text (3kb)
  • Australian Postcodes MySQL Function – Plain Text (1kb)

 

Check out our new project: activecontact.com.au – sync realestate.com.au enquiries to the MyDesktop CRM

  • Off
Page 1 of 1
  • Search Blog

  • Recent Posts

    • Australian Postcode Location Data 12 years ago
  • Social Media

    Follow @corraapps
Copyright © 2025 Motrix Pty Ltd ABN: 36 653 559 427 t/as Corra Web