Thanks jorge!<br>Then I figure it's a bug in the plugin. I wrote the wrong modes. I'm fixing and updating.<br>Hum... I'm going to wait for your responde on the parsing part. If not, should I parse it on the plugin?<br>
Best regards,<br>Mauricio de Paulo<br><br><div class="gmail_quote">2010/12/1 Jorge Arévalo <span dir="ltr"><<a href="mailto:jorge.arevalo@deimos-space.com">jorge.arevalo@deimos-space.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<div><div></div><div class="h5"><br>
On Wed, Dec 1, 2010 at 7:19 PM, Maurício de Paulo<br>
<<a href="mailto:mauricio.dev@gmail.com">mauricio.dev@gmail.com</a>> wrote:<br>
> Hi Andreas,<br>
> As you were able to load the raster metadata i'm assuming you installed the<br>
> wktraster sql on the database.<br>
> I've never tested myself on postgresql 9.0.<br>
> Do you have a postgresql 8.4 instance to test too? Just to be sure if it's a<br>
> gdal incompatibility with 9.0.<br>
> Thanks for the information, I'm repassing to Jorge (GDAL's developper).<br>
> Best regards,<br>
> Mauricio de Paulo<br>
><br>
>> Hi,<br>
>><br>
>> I am trying to get the wktraster plugin to work.<br>
>><br>
>> The initial connection to the db is fine. It lists all my raster datasets<br>
>> I have in the db.<br>
>><br>
>> After selecting a raster (and adding the schema-name in front of the<br>
>> table-name) I hit ok and after entering the password again, I get the<br>
>> following error message:<br>
>><br>
>> Could not load PG: dbname=uster host=localhost user=an password=xxx<br>
>> port=5432 table=dtm.dtmav mode=1<br>
>><br>
>> In the console that started QGIS I get a warning:<br>
>><br>
>> Warning: This version of PostgreSQL is not supported and may not work.<br>
>> ERROR 1: Error browsing database for PostGIS Raster properties<br>
>><br>
>> Here is my Postgres/Postgis version string:<br>
>><br>
>> "PostgreSQL 9.0.1 on x86_64-unknown-linux-gnu, compiled by GCC gcc (Ubuntu<br>
>> 4.4.3-4ubuntu5) 4.4.3, 64-bit"<br>
>><br>
>> "POSTGIS="1.5.2" GEOS="3.2.0-CAPI-1.6.0" PROJ="Rel. 4.7.1, 23 September<br>
>> 2009" LIBXML="2.7.6" USE_STATS"<br>
>><br>
>> Do you have any idea what may be wrong here? Is PostgreSQL 9.0 not<br>
>> supported? It works fine with my other QGIS projects ...<br>
>><br>
>> Thanks,<br>
>> Andreas<br>
>><br>
>> --<br>
>> Andreas Neumann<br>
>> <a href="http://www.carto.net/neumann/" target="_blank">http://www.carto.net/neumann/</a><br>
>> <a href="http://www.svgopen.org/" target="_blank">http://www.svgopen.org/</a><br>
>><br>
><br>
><br>
> --<br>
> Mauricio de Paulo<br>
> Engenheiro Cartografo<br>
><br>
><br>
<br>
</div></div>I assume you're using the new version of GDAL driver, commited on<br>
release 20912 (<a href="http://trac.osgeo.org/gdal/changeset/20912" target="_blank">http://trac.osgeo.org/gdal/changeset/20912</a>). The right<br>
syntax for the connection string should be<br>
<div class="im"><br>
PG:"dbname=uster host=localhost user=an password=xxx port=5432<br>
</div>schema=dtm table=dtmav mode=1"<br>
<br>
instead of<br>
<div class="im"><br>
PG: dbname=uster host=localhost user=an password=xxx port=5432<br>
table=dtm.dtmav mode=1<br>
<br>
</div>With this string, you'll read the rows of the table dtmav, schema dtm,<br>
as different raster files. So, the driver will report these rows as<br>
subdatasets. If you use mode=2, all the rows are considered as tiles<br>
of a bigger raster coverage.<br>
<br>
Anyway, let me check if the driver parses the<br>
"table=<schema>.<table_name>" syntax. I can't remember it.<br>
<font color="#888888"><br>
--<br>
Jorge Arévalo<br>
Internet & Mobilty Division, DEIMOS<br>
<a href="mailto:jorge.arevalo@deimos-space.com">jorge.arevalo@deimos-space.com</a><br>
<a href="http://mobility.grupodeimos.com/" target="_blank">http://mobility.grupodeimos.com/</a><br>
<a href="http://gis4free.wordpress.com" target="_blank">http://gis4free.wordpress.com</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mauricio de Paulo<br>Engenheiro Cartografo<br><br>