Changes between Initial Version and Version 1 of UsersWikiPostGIS21Ubuntu1404pkg


Ignore:
Timestamp:
Jul 28, 2014, 4:08:50 AM (10 years ago)
Author:
Mike Taves
Comment:

install PostGIS 2.1 from packages

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiPostGIS21Ubuntu1404pkg

    v1 v1  
     1= How to install PostGIS 2.1 on Ubuntu 14.04 LTS (''trusty'') from packages =
     2
     3== Install PostGIS and dependencies ==
     4This command should install PostgreSQL 9.3 with PostGIS 2.1 and related dependencies:
     5{{{
     6sudo apt-get install postgresql-9.3-postgis-2.1
     7}}}
     8
     9== Spatially enabling a database ==
     10
     11Connect to your database using pgAdminIII or psql, and use the commands to add the PostgreSQL extensions. To add PostGIS with raster support:
     12{{{
     13CREATE EXTENSION postgis;
     14}}}
     15
     16To add topology support, a second extension can be created on the database:
     17{{{
     18CREATE EXTENSION postgis_topology;
     19}}}
     20
     21== See also ==
     22 * https://help.ubuntu.com/community/PostgreSQL