Build dependencies
sudo apt-get install build-essential python-dev python-pip
Database
sudo apt-get install postgresql-9.1 postgresql-server-dev-9.1
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| import argparse | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('infile', type=argparse.FileType('r'), help='Input file in CSV format.') | |
| parser.add_argument('-o', '--outfile', type=argparse.FileType('wb'), help='Output file in CSV format.') | |
| args = parser.parse_args() |
| #!/bin/bash | |
| # | |
| # Taken and modified from | |
| # https://docs.djangoproject.com/en/dev/_downloads/create_template_postgis-debian.sh | |
| GEOGRAPHY=0 | |
| POSTGIS_SQL=postgis.sql | |
| # For Ubuntu 12.04 (with PostGIS 1.5) | |
| if [ -d "/usr/share/postgresql/9.1/contrib/postgis-1.5" ] |
| { | |
| "anaconda_linting_behaviour": "save-only", | |
| "pep8_ignore": | |
| [ | |
| "E501", | |
| "E501", | |
| "E701", | |
| "E126", | |
| "E127", | |
| "E128", |
Warning:
[default] The guest additions on this VM do not match the installed version of
VirtualBox! In most cases this is fine, but in rare cases it can
cause things such as shared folders to not work properly. If you see
shared folder errors, please update the guest additions within the
virtual machine and reload your VM.
Guest Additions Version: 4.2.12
VirtualBox Version: 4.3
Download and install in this order
http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.9.dmg
http://www.kyngchaos.com/files/software/frameworks/GSL_Framework-1.16-1.dmg
http://www.kyngchaos.com/files/software/qgis/QGIS-1.8.0-2.dmg