The Boundary Mapper’s Cookbook

Dots on maps don’t always tell you the full story behind the numbers.  In cases where you’ve got postcode, suburb or council based data – you’ll want to be able to map those boundaries to tell a richer story than text, numbers or dots can do.

Here’s a quick and dirty guide to getting up and running with boundary data just in time for GovHack:

1 – Install PostgreSQL 9.1 :

2 – Install PostGIS 2.0 :  (there are now 64bit binaries for those who want serious spatial power)

3 – Download some Shapefile (SHP) formatted boundary data and load it into PostGIS (there’s a GUI – PostGIS Shapefile and DBF Loader 2.0 – inside the PostgreSQL Admin Console).  If you’ve got another format there are OS tools you can use – try OGR2OGR (handy guide here)

4 – Download some data to go with those lovely boundaries – e.g. some juicy hot off the press ATO Tax data

5 – Install PHP 5.3 on your web server with the PostgreSQL PDO drivers :

6 – Download the PostGIS RESTful Web Service Framework 1.1 (PRWSF)

7 – Edit the PRWSF /inc/ file to set your PostgreSQL database connection

8 – Download Leaflet Javascript API

9 – Get a Cloudmade account for a free API key to access to an OpenStreetMap tile layer of your choice

10 – Edit the PRWSF /v1/ws_geo_attributequery.php file to support callbacks for cross domain JSON:

     echo $_GET[‘jsoncallback’] . ‘(‘;


    echo ‘)’;

11 – Leech some code from GitHub

FYI – the ABS has a rich collection of boundaries for you to use under Creative Commons licensing.  This links directly to their own stats as well as the stats of many other agencies and organisation, such as the ATO (who recently released a tonne of tax data!).  This data is ripe for rich visualisation:

Note: 2006 Census data uses he ASGC boundaries.  2011 Census data will use the ASGS bdys when the data is released on June 21.

Here’s one I prepared earlier…

GeoRabble Melbourne #2 Speaker Registration Now Open

Hello there! The first Melbourne GeoRabble was held last year, and it was lots of fun.  Now GeoRabble Melbourne #2   is in the pipeline for  5.30 pm on Wednesday, 30th of  May 2012  at Lanai Bar at CQ (Melbourne). GIS Recruitment has been confirmed as exclusive sponsor for the event.

If you haven’t been to one before, here is the run down.  It’s an evening to share geo-ideas, full of fun, and free from sales-pitches! Each presentation is light, relevant to geo-something and is only 10 minutes long.

Agile speaker or passionate Geo-Geek? To get the ball rolling, we are looking for some presenters. Will you be one of them?

Send an email to  with your name, presentation title and a short description. You can also get our attention on Twitter via @georabble or using the #GeoRabbleMelb hashtag, join us at the online  GeoRabble Melbourne Meetup Group   or the  Facebook GeoRabble group

We’ll announce the speaker line-up and ticketing very soon!