<div>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.</div><div>But this error appears:</div><div><br></div><div>C:\Archivos de programa\GDAL>gdal_translate PG:"dbname=template_postgis20 user=postgres table=HumedadDeExtincion mode=2" your_file.tif</div>

<div>ERROR 1: Error checking geometry type existence. Is PostGIS correctly</div><div>      installed?: no connection to the server</div><div><br></div><div>GDALOpen failed - 1</div><div>Error checking geometry type existence. Is PostGIS correctly installed?: no connection to the server</div>

<div><br></div><div>I installed in windows the postgis raster with gdal, python, etc.</div><div><br></div><div>Could you please help me with this problem?</div><div><br></div><div>Thanks!</div><div><br></div><div>Virginia</div>

<div><br></div><div><br></div>