Hi Stefan!<br>Well, some wktraster operations returns rasters and some returns vectors.<br>I think that the ones that returns vectors (st_intersection) can be viewed as regular postgis tables if selected in a rt_sql plugin. <br>
I've never tested it, though. The idea is that if they return vector then qgis should read it as postgis geometries.<br>I'm on a windows notebook now so it's going to take some time to set a raster/vector wktraster overlay to test it.<br>
I'm afraid it might not work because of the data structure of the height on st_intersection not being a coordinate and instead being an array. That's all I remember from the tests I did back then and it could stop the result from being displayed without proper treatment.<br>
<br><br><div class="gmail_quote">2010/11/29 Stefan Keller <span dir="ltr"><<a href="mailto:sfkeller@gmail.com">sfkeller@gmail.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;">
Ok (I'm cross posting to qgis-developer and postgis-users).<br>
<br>
I'm still not sure if I did express myself clearly:<br>
You say, that under Windows, there's no QGIS compiled against GDAL<br>
1.7/1.8 with PostGIS Raster support?<br>
<br>
What I finally dream of, is using QGIS to display the results of a SQL<br>
query (either as raster or vector) against at least one raster layer.<br>
This query contains raster constructors (like ST_Intersection) and<br>
operations (like ST_Reclass; see<br>
<a href="http://trac.osgeo.org/postgis/wiki/WKTRaster" target="_blank">http://trac.osgeo.org/postgis/wiki/WKTRaster</a>).<br>
<br>
Any suggestions?<br>
-S.<br>
<br>
<br>
2010/11/29 Maurício de Paulo <...@<a href="http://gmail.com" target="_blank">gmail.com</a>>:<br>
<div class="im">> Hi Stefan,<br>
><br>
> WKTRaster Plugin just repasses the right information to the GDAL driver.<br>
> It's not a new qgis driver.<br>
> I'm planning on implementing the table listing using pyqt this week. I was a<br>
> little delayed by my master's application.<br>
><br>
> The idea in the plugin is simply find the QGIS's conections available, list<br>
> the raster tables inside postgis and pass the right arguments to the gdal<br>
> driver.<br>
><br>
> At the moment I haven't found any gdal 1.7 windows build with QGIS. GDAL 1.7<br>
> introduces wktraster. The driver conects to postgis raster and read it as a<br>
> binary. It's still VERY unstable and gdal version 1.8 seems to be greatly<br>
> improved.<br>
> So what a windows user need to get the plugin to work is a (still not found)<br>
> qgis compiled against gdal 1.7.<br>
> You can compile your's from source if needed.<br>
><br>
> So, as far as qgis to wktraster, with the plugin qgis reads the wktraster as<br>
> a regular raster. Just for show. If you did some kind of processing and<br>
> populated a new raster table, qgis is going to read that result too. The<br>
> plugin is not intended (at the moment at least) to raster processing inside<br>
> postgis. It just loads the table to the screen.<br>
><br>
> In the future, with a more stable wktraster probably someone (or me) is<br>
> going to write a set of wktraster's tools as a plugin, but for the moment it<br>
> should be run as sql. I advise postgis manager's to the task.<br>
><br>
> Best regards,<br>
><br>
><br>
</div>> 2010/11/29 Stefan Keller <...@<a href="http://gmail.com" target="_blank">gmail.com</a>><br>
<div><div></div><div class="h5">>><br>
>> Hi,<br>
>><br>
>> There are new versions around of "PostGIS Raster"<br>
>> (renamed from formerly known "PostGIS WKT Raster").<br>
>><br>
>> What's the status of your "WKTRaster Plugin 0.1"?<br>
>> I assume it's rendering the raster values (e.g. from ST_AsBinary) -<br>
>> not the polygons/geomvals (from ST_DumpAsPolygons), right?<br>
>> Is there a chance to get it running on Windows too?<br>
>> Are there other plugins?<br>
>><br>
>> Yours, S.<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mauricio de Paulo<br>Engenheiro Cartografo<br><br>