Hi Jorge,<br>Good news. The plugin wktraster is exactly a tool to connect qgis to postgis rasters through GDAL and visualize the data.<br>Stefan asked about the processing. This is something the plugin doesn&#39;t do.<br>I&#39;ve tested with a friend both qgis (with the plugin) and mapserver loading postgis rasters. Both worked fine, and the only requirement is qgis compiled against gdal 1.7.<br>
I&#39;m interested in updating the plugin this week to work as I&#39;ve planned. It&#39;s going to speak for itself.<br>Best Regards,<br>Mauricio<br>Ps.: Anyone willing to help and join this effort is always welcome.<br><br>
<div class="gmail_quote">On Mon, Nov 29, 2010 at 3:45 PM, Jorge Arévalo <span dir="ltr">&lt;<a href="mailto:jorge.arevalo@deimos-space.com">jorge.arevalo@deimos-space.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
If you want a GDAL version compiled with PostGIS Raster support on<br>
Windows, you may take a look here: <a href="http://vbkto.dyndns.org:1280/sdk/" target="_blank">http://vbkto.dyndns.org:1280/sdk/</a><br>
<br>
Visualizing PostGIS Raster data via GDAL driver is one of my TODO<br>
tasks. I don&#39;t have too much free time now, but if you&#39;re interested<br>
on this topic, and you&#39;re going to test it, please let me know. There<br>
are more people interested on that, and I&#39;m providing support to some<br>
of them (not as much support as I&#39;d like, because the time...)<br>
<br>
Best regards,<br>
<br>
--<br>
Jorge Arévalo<br>
Internet &amp; 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>
<br>
2010/11/29 Stefan Keller &lt;<a href="mailto:sfkeller@gmail.com">sfkeller@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Ok (I&#39;m cross posting to qgis-developer and postgis-users).<br>
&gt;<br>
&gt; I&#39;m still not sure if I did express myself clearly:<br>
&gt; You say, that under Windows, there&#39;s no QGIS compiled against GDAL<br>
&gt; 1.7/1.8 with PostGIS Raster support?<br>
&gt;<br>
&gt; What I finally dream of, is using QGIS to display the results of a SQL<br>
&gt; query (either as raster or vector) against at least one raster layer.<br>
&gt; This query contains raster constructors (like ST_Intersection) and<br>
&gt; operations (like ST_Reclass; see<br>
&gt; <a href="http://trac.osgeo.org/postgis/wiki/WKTRaster" target="_blank">http://trac.osgeo.org/postgis/wiki/WKTRaster</a>).<br>
&gt;<br>
&gt; Any suggestions?<br>
&gt; -S.<br>
&gt;<br>
&gt;<br>
&gt; 2010/11/29 Maurício de Paulo &lt;...@<a href="http://gmail.com" target="_blank">gmail.com</a>&gt;:<br>
&gt;&gt; Hi Stefan,<br>
&gt;&gt;<br>
&gt;&gt; WKTRaster Plugin just repasses the right information to the GDAL driver.<br>
&gt;&gt; It&#39;s not a new qgis driver.<br>
&gt;&gt; I&#39;m planning on implementing the table listing using pyqt this week. I was a<br>
&gt;&gt; little delayed by my master&#39;s application.<br>
&gt;&gt;<br>
&gt;&gt; The idea in the plugin is simply find the QGIS&#39;s conections available, list<br>
&gt;&gt; the raster tables inside postgis and pass the right arguments to the gdal<br>
&gt;&gt; driver.<br>
&gt;&gt;<br>
&gt;&gt; At the moment I haven&#39;t found any gdal 1.7 windows build with QGIS. GDAL 1.7<br>
&gt;&gt; introduces wktraster. The driver conects to postgis raster and read it as a<br>
&gt;&gt; binary. It&#39;s still VERY unstable and gdal version 1.8 seems to be greatly<br>
&gt;&gt; improved.<br>
&gt;&gt; So what a windows user need to get the plugin to work is a (still not found)<br>
&gt;&gt; qgis compiled against gdal 1.7.<br>
&gt;&gt; You can compile your&#39;s from source if needed.<br>
&gt;&gt;<br>
&gt;&gt; So, as far as qgis to wktraster, with the plugin qgis reads the wktraster as<br>
&gt;&gt; a regular raster. Just for show. If you did some kind of processing and<br>
&gt;&gt; populated a new raster table, qgis is going to read that result too. The<br>
&gt;&gt; plugin is not intended (at the moment at least) to raster processing inside<br>
&gt;&gt; postgis. It just loads the table to the screen.<br>
&gt;&gt;<br>
&gt;&gt; In the future, with a more stable wktraster probably someone (or me) is<br>
&gt;&gt; going to write a set of wktraster&#39;s tools as a plugin, but for the moment it<br>
&gt;&gt; should be run as sql. I advise postgis manager&#39;s to the task.<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2010/11/29 Stefan Keller &lt;...@<a href="http://gmail.com" target="_blank">gmail.com</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; There are new versions around of &quot;PostGIS Raster&quot;<br>
&gt;&gt;&gt; (renamed from formerly known &quot;PostGIS WKT Raster&quot;).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; What&#39;s the status of your &quot;WKTRaster Plugin 0.1&quot;?<br>
&gt;&gt;&gt; I assume it&#39;s rendering the raster values (e.g. from ST_AsBinary) -<br>
&gt;&gt;&gt; not the polygons/geomvals (from ST_DumpAsPolygons), right?<br>
&gt;&gt;&gt; Is there a chance to get it running on Windows too?<br>
&gt;&gt;&gt; Are there other plugins?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Yours, S.<br>
</div></div>&gt; _______________________________________________<br>
&gt; postgis-users mailing list<br>
&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
&gt;<br>
</blockquote></div><br><br clear="all"><br>-- <br>Mauricio de Paulo<br>Engenheiro Cartografo<br><br>