Skip to content

Instantly share code, notes, and snippets.

@glw
Created August 10, 2015 03:57
Show Gist options
  • Save glw/07382e48d8f72ad87f94 to your computer and use it in GitHub Desktop.
Save glw/07382e48d8f72ad87f94 to your computer and use it in GitHub Desktop.
altered enviroment file to enable out of db and gdal drivers for postgis 2.1.x and below
# environment variables for postmaster process
# This file has the same syntax as postgresql.conf:
# VARIABLE = simple_value
# VARIABLE2 = 'any value!'
# I. e. you need to enclose any value which does not only consist of letters,
# numbers, and '-', '_', '.' in single quotes. Shell commands are not
# evaluated.
#====================================================
#Enable out of db rasters and gdal drivers
#====================================================
#settings according to http://www.postgis.net/docs/postgis_installation.html
#on Ubuntu this file is found here - /etc/postgresql/9.3/main/environment
POSTGIS_ENABLE_OUTDB_RASTERS=1
POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment