Did you load/execute rtpostgis.sql in the database?

Also, I think this is not good practice to use your template database 
(template_postgis20) to store data.

Pierre

From: [email protected] 
[mailto:[email protected]] On Behalf Of Virginia 
Maffei
Sent: Thursday, June 02, 2011 8:22 PM
To: PostGIS Users Discussion
Subject: [postgis-users] Gdal translate Error checking geometry type existence 
problem

Hi, i loaded a tif with raster2pgsql into the database and now i'm trying to 
get from that table a tif with gdal_translate.
But this error appears:

C:\Archivos de programa\GDAL>gdal_translate PG:"dbname=template_postgis20 
user=postgres table=HumedadDeExtincion mode=2" your_file.tif
ERROR 1: Error checking geometry type existence. Is PostGIS correctly
      installed?: no connection to the server

GDALOpen failed - 1
Error checking geometry type existence. Is PostGIS correctly installed?: no 
connection to the server

I installed in windows the postgis raster with gdal, python, etc.

Could you please help me with this problem?

Thanks!

Virginia


_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to