[postgis-users] Gdal translate Error checking geometry type existence problem
Pierre Racine
Pierre.Racine at sbf.ulaval.ca
Fri Jun 3 04:24:35 PDT 2011
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: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110603/47e069eb/attachment.html>
More information about the postgis-users
mailing list