Ok, after a few minutes of implementation here it is. Now the plugin lists the tables from the database and shows some of it's metadata. Now I think it's fully functional. If anyone finds a bug , please tell me.<br>
Best regards,<br><br><div class="gmail_quote">On Mon, Nov 29, 2010 at 3:50 PM, Maurício de Paulo <span dir="ltr"><<a href="mailto:mauricio.dev@gmail.com">mauricio.dev@gmail.com</a>></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 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't do.<br>
I'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'm interested in updating the plugin this week to work as I've planned. It's going to speak for itself.<br>Best Regards,<br>Mauricio<br>Ps.: Anyone willing to help and join this effort is always welcome.<div>
<div></div><div class="h5"><br><br>
<div class="gmail_quote">On Mon, Nov 29, 2010 at 3:45 PM, Jorge Arévalo <span dir="ltr"><<a href="mailto:jorge.arevalo@deimos-space.com" target="_blank">jorge.arevalo@deimos-space.com</a>></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't have too much free time now, but if you're interested<br>
on this topic, and you're going to test it, please let me know. There<br>
are more people interested on that, and I'm providing support to some<br>
of them (not as much support as I'd like, because the time...)<br>
<br>
Best regards,<br>
<br>
--<br>
Jorge Arévalo<br>
Internet & Mobilty Division, DEIMOS<br>
<a href="mailto:jorge.arevalo@deimos-space.com" target="_blank">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 <<a href="mailto:sfkeller@gmail.com" target="_blank">sfkeller@gmail.com</a>>:<br>
<div><div></div><div>> 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>
>> 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>
>> 2010/11/29 Stefan Keller <...@<a href="http://gmail.com" target="_blank">gmail.com</a>><br>
>>><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>> _______________________________________________<br>
> postgis-users mailing list<br>
> <a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
><br>
</blockquote></div><br><br clear="all"><br></div></div><div><div></div><div class="h5">-- <br>Mauricio de Paulo<br>Engenheiro Cartografo<br><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mauricio de Paulo<br>Engenheiro Cartografo<br><br>