Skip to content

Instantly share code, notes, and snippets.

@demimismo
Last active December 16, 2015 09:39
Show Gist options
  • Save demimismo/5414443 to your computer and use it in GitHub Desktop.
Save demimismo/5414443 to your computer and use it in GitHub Desktop.
Install CartoDB-ready gdal on OSX using brew

Install CartoDB-ready gdal on OSX using brew

First of all, remove your previous version of gdal (if any):

brew uninstall gdal --force

Next, you need to remove any references to sqlite and spatialite from brew's gdal formula:

brew edit gdal

Then, re-install gdal with postgresql support:

brew install --env=std --complete --with-postgres gdal

You'll have to re-install mapnik if you have a previous version:

cd cartodb-windshaft
rm -rf node_modules/windshaft
brew uninstall mapnik
brew install mapnik
npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment