<div dir="ltr"><div><div><div>Hey,<br>I encountered countinuous trouble with raster regarding gdal.<br></div>Only working solution for me was to update it.<br></div>Also,<br></div>maybe you could write <br>raster2pgsql -s 31467 -I -C -M /disk1/samba/importdb/dgm_25.t<div id=":2jc" class="">
if -t 100x100 rast.dgm25 |<br></div><div id=":2jc" class="">to disk,<br></div><div id=":2jc" class="">so to see what it says,<br>then try to manually execute it in psql to see if error or notice arise.<br><br>Cheers,<br>Rémi-C<br>
</div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-19 14:19 GMT+01:00 Andreas Laggner <span dir="ltr"><<a href="mailto:andreas.laggner@ti.bund.de" target="_blank">andreas.laggner@ti.bund.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<br>
<br>
i have some problems with raster datasets since i use postgis 2.1.1 and postgres 9.3.3<br>
"POSTGIS="2.1.1 r12113" GEOS="3.3.8-CAPI-1.7.8" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.9.2, released 2012/10/08" LIBXML="2.7.8" LIBJSON="UNKNOWN" TOPOLOGY RASTER"<br>
<br>
First all my rasters were empty after restoring my dump from 2.03/9.1, that was no fun, but i still have the files on my harddrive, so i imported them again:<br>
raster2pgsql -s 31467 -I -C -M /disk1/samba/importdb/dgm_25.<u></u>tif -t 100x100 rast.dgm25 | psql -d gis<br>
<br>
All seemed to be good, but as i want to use the raster, all my results were empty.<br>
<br>
All my imported rasters are empty! Trying to convert the raster to Polygons returns "No pixels found for band 1"<br>
<br>
The raster files are the same that i imported two months ago to 2.03/9.1, the raster2pgsql-command is the same too.<br>
<br>
Thanks, Cheers,<br>
<br>
Andreas<br>
<br>
-- <br>
Dipl. Geoökologe Andreas Laggner<br>
<br>
Thünen-Institut für Agrarklimaschutz (AK)<br>
Arbeitsgruppe Emissionsinventare<br>
Johann Heinrich von Thünen-Institut (vTI),<br>
Bundesforschungsinstitut für Ländliche Räume, Wald und Fischerei<br>
<br>
Thünen Institute of Climate-Smart Agriculture<br>
Johann Heinrich von Thünen Institute (vTI),<br>
Federal Research Institute for Rural Areas, Forestry and Fisheries<br>
<br>
Bundesallee 50<br>
D-38116 Braunschweig<br>
<br>
Tel.: <a href="tel:%28%2B49%29%20%280%29531%20596%202636" value="+495315962636" target="_blank">(+49) (0)531 596 2636</a><br>
Fax : <a href="tel:%28%2B49%29%20%280%29531%20596%202645" value="+495315962645" target="_blank">(+49) (0)531 596 2645</a><br>
E-mail: <a href="mailto:andreas.laggner@ti.bund.de" target="_blank">andreas.laggner@ti.bund.de</a><br>
Homepage: <a href="http://www.ti.bund.de" target="_blank">http://www.ti.bund.de</a><br>
<br>
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-<u></u>bin/mailman/listinfo/postgis-<u></u>users</a><br>
</blockquote></div><br></div>