Australian electoral mapping
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
VM_Setup.md
Vagrantfile
all_town_point.sql
comm_electoral.sql
configure_db
fix_bonner.sql
gen_act
gen_by_party
gen_nsw
gen_nt
gen_qld
gen_qld_state
gen_sa
gen_tas
gen_vic
gen_wa
partystyles.json
populate_comm_electoral_labels.php
populate_qld_state_electoral_labels.php
qld_state_electoral.sql
render_funcs.php
render_map.php

README.md

Australian electoral mapping

  • Utilities to generate Australian federal, state and local maps

Running from a Pre-Built Virtual Machine

The quickest way to get running is to use the pre-built virtual machine with map data already loaded into Postgres and scripts ready to run.

The image is hosted at https://atlas.hashicorp.com/barrylb/boxes/austmapping/ and is 2.56GB in size.

vagrant init barrylb/austmapping
vagrant up --provider virtualbox
vagrant ssh

Then skip to the Generating maps section below.

Setting up the VM from scratch

Generating maps

  • To generate Federal division maps run these commands:
./gen_act
./gen_nsw
./gen_nt
./gen_qld
./gen_sa
./gen_tas
./gen_vic
./gen_wa
./gen_by_party
  • To generate Queensland state maps run this command:
./gen_qld_state