Find file History
Pull request Compare This branch is 101 commits behind sm:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

SM Framework Postgresql Extension Set - PostGIS Extension.

For more information about PostGIS visit the website at:

Note that this extension assumes you have all prerequisites installed:

  • PostgreSQL with development headers (all good if you used this set)
  • hstore (can install via 'sm postgresql extensions install hstore')
  • libxml2 with development headers
  • GEOS at least 3.2.2
  • Proj at least 4.7
  • GDAL at least 1.7.2
  • Spatialite at least 2.4

Once you have ensured this you can install postgis:

sm postgis install

Installation automatically enables (creates) the postgis extension however you can toggle this with the two commands:

sm postgis enable
sm postgis disable