[postgis-users] installation on windows

Paragon Corporation lr at pcorp.us
Sun May 16 18:20:59 PDT 2010


Arnauld,
 
If you installed PostGIS via stack builder, the easiest way to create a
PostGIS database is to 
 
create a database and use template_postgis as the template.
 
 
We have an article that details some of this
http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgis_tut01
 
If you are trying to spatially enable an already existing database, then
make sure you have plpgsql language enabled in the database before you
install the postgis scripts.  You can do this with a 
 
CREATE LANGUAGE plpgsql;
 
I think PostgreSQL 8.4+ has it installed by default at least for windows,
but 8.3 may not.
 
We take it from your below that you are trying to install PostGIS 1.3
instead of the newer PostGIS 1.5. 
For PostGIS 1.5 and 1.4, the file you need to install is postgis.sql (prior
versions was lwpostgis.sql).
 
If there isn't any particular reason why you are using an older version, I
would suggest to use PostGIS 1.5.  It has a lot more functionality than 1.3.
 
 
Leo and Regina
http://www.postgis.us
 

  _____  

From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of arnauld
ndefo
Sent: Sunday, May 16, 2010 7:26 AM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] installation on windows



Hi everybody,
i am a new developer who use a mapnik to build my own map. I use Window
instead of ubuntu.I want to know how to install postgis on windows?
when i do "psql  -d gis -f "c:\Program Files\PostgreSQL\8.3\share\co
ntrib\lwpostgis.sql" on my windows command shell i have this list of  error:


psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4858:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4864:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4870:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4876:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4882:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4888:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4894:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4900:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4906:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4912:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4918:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4923:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4928:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4933:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4938:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4948:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4958:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4968:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4979:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4989:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:4999:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:5009:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:5019:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:5025:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:5031:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:5041:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:5051:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:5061:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:5071:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:5077:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block
psql:c:/Program Files/PostgreSQL/8.3/share/contrib/lwpostgis.sql:5083:
ERROR:  c
urrent transaction is aborted, commands ignored until end of transaction
block

I don't know how to result this problem, please help me

thank you




Ndefo Kamgne Arnauld
Cité Ettayour,Immeuble Bolbol 1,Appartement A2,Ariana
0021624249357

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100516/14d01908/attachment.html>


More information about the postgis-users mailing list