08 October 2015

Mac GIS Tools

This is documentation on how to configure your Mac system for GIS tools.

Install brew.sh - the missing package manager for OS X

http://brew.sh

Homebrew installs the stuff you need that Apple didn’t.

Follow the instructions. Requires termial:

COMMAND + spacebar > search 'terminal'

Paste command:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Confirm install:

$ brew --help

Easy installations:

QGIS requires: Python2.7, GDAL, PROJ.4, NumPy, SciPy, Matplotlib

Install the libraries/software in the order below.

  • To allow unrecognized developers/apps to be installed: CONTROL + CLICK on .pkg to open

GDAL:

PROJ:

NumPy:

Included on the GDAL Framework disk image.

Matplotlib:

Requires: NumPy

QGIS:

Optional Python modules:

SciPy:

Requires: NumPy

Python Imaging Library (PIL):

Requires: UnixImageIO, FreeType

psycopg2:

PostgreSQL interface

RPy2:

Requires: R 3.1

Pythoni Spatial Analysis Library (PySAL):

Requires: NumPy, SciPy

$ sudo easy_install pysal

GDAL for terminal

This installation will allow command line access to GDAL for scripting geoprocessing and PostgreSQL support. BuildingOnMac documentation is located here.

Open terminal:

COMMAND + SPACEBAR > search 'terminal'

Install GDAL:

This one will take some time.

$ brew install gdal --with-unsupported --with-libkml --with-postgresql-9.4

Confirm install:

$ gdalinfo