Skip to content

Commit aae37e6

Browse files
committed
Install postgres_topology extension
1 parent e65193c commit aae37e6

12 files changed

+24
-12
lines changed

9.0-2.1/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Docker image for running PostGIS 2.1 on Postgres 9 (9.0-9.4).
55

66
Based on the [official Postgres image](http://registry.hub.docker.com/_/postgres/).
77

8-
Includes a `template_postgis` database with `postgis.sql` and
9-
`spatial_ref_sys.sql` loaded.
8+
Includes a `template_postgis` database with `postgis.sql`, `topology.sql`, and
9+
`spatial_ref_sys.sql` loaded. Use this database as the template for your
10+
database to gain access to PostGIS functionality in your database.
1011

9.0-2.1/initdb-postgis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ EOSQL
88

99
POSTGIS_CONFIG=/usr/share/postgresql/$PG_MAJOR/contrib/postgis-$POSTGIS_MAJOR
1010
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/postgis.sql
11+
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/topology.sql
1112
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/spatial_ref_sys.sql

9.1-2.1/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Docker image for running PostGIS 2.1 on Postgres 9 (9.0-9.4).
55

66
Based on the [official Postgres image](http://registry.hub.docker.com/_/postgres/).
77

8-
Includes a `template_postgis` database with `postgis.sql` and
9-
`spatial_ref_sys.sql` loaded.
8+
Includes a `template_postgis` database with `postgis.sql`, `topology.sql`, and
9+
`spatial_ref_sys.sql` loaded. Use this database as the template for your
10+
database to gain access to PostGIS functionality in your database.
1011

9.1-2.1/initdb-postgis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ EOSQL
88

99
POSTGIS_CONFIG=/usr/share/postgresql/$PG_MAJOR/contrib/postgis-$POSTGIS_MAJOR
1010
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/postgis.sql
11+
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/topology.sql
1112
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/spatial_ref_sys.sql

9.2-2.1/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Docker image for running PostGIS 2.1 on Postgres 9 (9.0-9.4).
55

66
Based on the [official Postgres image](http://registry.hub.docker.com/_/postgres/).
77

8-
Includes a `template_postgis` database with `postgis.sql` and
9-
`spatial_ref_sys.sql` loaded.
8+
Includes a `template_postgis` database with `postgis.sql`, `topology.sql`, and
9+
`spatial_ref_sys.sql` loaded. Use this database as the template for your
10+
database to gain access to PostGIS functionality in your database.
1011

9.2-2.1/initdb-postgis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ EOSQL
88

99
POSTGIS_CONFIG=/usr/share/postgresql/$PG_MAJOR/contrib/postgis-$POSTGIS_MAJOR
1010
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/postgis.sql
11+
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/topology.sql
1112
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/spatial_ref_sys.sql

9.3-2.1/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Docker image for running PostGIS 2.1 on Postgres 9 (9.0-9.4).
55

66
Based on the [official Postgres image](http://registry.hub.docker.com/_/postgres/).
77

8-
Includes a `template_postgis` database with `postgis.sql` and
9-
`spatial_ref_sys.sql` loaded.
8+
Includes a `template_postgis` database with `postgis.sql`, `topology.sql`, and
9+
`spatial_ref_sys.sql` loaded. Use this database as the template for your
10+
database to gain access to PostGIS functionality in your database.
1011

9.3-2.1/initdb-postgis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ EOSQL
88

99
POSTGIS_CONFIG=/usr/share/postgresql/$PG_MAJOR/contrib/postgis-$POSTGIS_MAJOR
1010
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/postgis.sql
11+
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/topology.sql
1112
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/spatial_ref_sys.sql

9.4-2.1/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Docker image for running PostGIS 2.1 on Postgres 9 (9.0-9.4).
55

66
Based on the [official Postgres image](http://registry.hub.docker.com/_/postgres/).
77

8-
Includes a `template_postgis` database with `postgis.sql` and
9-
`spatial_ref_sys.sql` loaded.
8+
Includes a `template_postgis` database with `postgis.sql`, `topology.sql`, and
9+
`spatial_ref_sys.sql` loaded. Use this database as the template for your
10+
database to gain access to PostGIS functionality in your database.
1011

9.4-2.1/initdb-postgis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ EOSQL
88

99
POSTGIS_CONFIG=/usr/share/postgresql/$PG_MAJOR/contrib/postgis-$POSTGIS_MAJOR
1010
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/postgis.sql
11+
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/topology.sql
1112
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/spatial_ref_sys.sql

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Docker image for running PostGIS 2.1 on Postgres 9 (9.0-9.4).
55

66
Based on the [official Postgres image](http://registry.hub.docker.com/_/postgres/).
77

8-
Includes a `template_postgis` database with `postgis.sql` and
9-
`spatial_ref_sys.sql` loaded.
8+
Includes a `template_postgis` database with `postgis.sql`, `topology.sql`, and
9+
`spatial_ref_sys.sql` loaded. Use this database as the template for your
10+
database to gain access to PostGIS functionality in your database.
1011

initdb-postgis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ EOSQL
88

99
POSTGIS_CONFIG=/usr/share/postgresql/$PG_MAJOR/contrib/postgis-$POSTGIS_MAJOR
1010
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/postgis.sql
11+
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/topology.sql
1112
$POSTGRES --single template_postgis -j < $POSTGIS_CONFIG/spatial_ref_sys.sql

0 commit comments

Comments
 (0)