![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, on executing this command, I got from a German PostGIS installing tutorial ( http://wiki.osgeo.org/wiki/Installat...f_Debian_4.0): psql -d template1 -f /var/src/postgresql-8.1.11/contrib/postgis/lwpostgis.sql on line 70 I get the error, that type "histogram2d" would already exist. Here comes the first part of this "lwpostgis.sql": ================================================== -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
#3
| |||
| |||
|
|
Have a look at http://www.postgresql.org/docs/8.1/i...mplatedbs.html and start with a "clean" template1. |
|
If you want to add postgis-functionality to a database (foo), use the following commands: createlang -U postgres plpgsql foo psql -U postgres -d foo \ -f /usr/share/postgresql-8.1-postgis/lwpostgis.sql psql -U postgres -d foo \ -f /usr/share/postgresql-8.1-postgis/spatial_ref_sys.sql |
#4
| |||
| |||
|
|
on executing this command, I got from a German PostGIS installing tutorial ( http://wiki.osgeo.org/wiki/Installat...f_Debian_4.0): psql -d template1 -f /var/src/postgresql-8.1.11/contrib/postgis/lwpostgis.sql |
|
on line 70 I get the error, that type "histogram2d" would already exist. |
![]() |
| Thread Tools | |
| Display Modes | |
| |