So your gdal version is prior 1.7.<br>If you're on windows all you have to do is upgrade osgeo's qgis.<br>If you're on linux, ubuntugis and debian gis both have 1.7 compiled repositories.<br>To get everything right, on qgis there is a description of the providers: Help->About->Providers. There you can see against witch gdal version your qgis is working.<br>
Maybe I should say the version on the error dialog.<br>Best regards,<br>Mauricio<br><br><div class="gmail_quote">2011/1/5 Noli Sicad <span dir="ltr"><<a href="mailto:nsicad@gmail.com">nsicad@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;">I am getting this form dialog error now.<br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<div class="im"><br>
Error<br>
<br>
GDAL version incompatible with WktRaster.<br>
<br>
</div>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<div><div></div><div class="h5"><br>
<br>
Noli<br>
<br>
<br>
<br>
On 1/5/11, Maurício de Paulo <<a href="mailto:mauricio.dev@gmail.com">mauricio.dev@gmail.com</a>> wrote:<br>
> I've fixed the bug. It was just a coding issue.<br>
> If you could reinstall the plugin it shouldn't get the error now.<br>
><br>
> 2011/1/5 Maurício de Paulo <<a href="mailto:mauricio.dev@gmail.com">mauricio.dev@gmail.com</a>><br>
><br>
>> Bug. But still, he's saying your version is too low.<br>
>> What gdal version are you using?<br>
>><br>
>><br>
>> 2011/1/5 Noli Sicad <<a href="mailto:nsicad@gmail.com">nsicad@gmail.com</a>><br>
>><br>
>>> I got this error.<br>
>>><br>
>>> ~~~~~~~~~<br>
>>> An error has occured while executing Python code:<br>
>>><br>
>>> Traceback (most recent call last):<br>
>>> File "/home/noli/.qgis/python/plugins/wktraster/wktRaster.py", line<br>
>>> 81, in callAddLayer<br>
>>> QMessageBox.warning(self.dlg,"Error", "GDAL version incompatible<br>
>>> with WktRaster.")<br>
>>> AttributeError: wktRaster instance has no attribute 'dlg'<br>
>>><br>
>>> Python version:<br>
>>> 2.6.5 (r265:79063, Apr 16 2010, 13:28:26)<br>
>>> [GCC 4.4.3]<br>
>>> ~~~~~~~~~~~<br>
>>><br>
>>> I am using GDAL 1.7.3<br>
>>><br>
>>> noli@noli-laptop:~$ gdalinfo --version<br>
>>> GDAL 1.7.3, released 2010/11/10<br>
>>><br>
>>> What is this error. I don't have a postgis raster yet in my postgis<br>
>>> installation. Should just disregard this error.<br>
>>><br>
>>> Thanks.<br>
>>><br>
>>> Noli<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> On 1/5/11, Maurício de Paulo <<a href="mailto:mauricio.dev@gmail.com">mauricio.dev@gmail.com</a>> wrote:<br>
>>> > It does work with gdal 1.6 or greater.<br>
>>> > But versions 1.6 and 1.7 are really buggy and can't read irregularly<br>
>>> blocked<br>
>>> > data.<br>
>>> > I've tested on some rapideye imagery now and gdal 1.7 frozen. Testing<br>
>>> with<br>
>>> > gdal 1.8 from trunk it runs smoothly.<br>
>>> > So we have to wait until newer versions are released.<br>
>>> > Jorge from gdal postgis driver is getting info on the bugs we find and<br>
>>> it<br>
>>> > should help him develop a more stable gdal driver.<br>
>>> > I did some testing with a well behaved raster and everything worked<br>
>>> > out-the-box on windows 7 with gdal 1.7<br>
>>> > Best regards,<br>
>>> > Mauricio<br>
>>> ><br>
>>> > 2011/1/5 Noli Sicad <<a href="mailto:nsicad@gmail.com">nsicad@gmail.com</a>><br>
>>> ><br>
>>> >> Thanks a lot.<br>
>>> >><br>
>>> >> Is the plugin works only with GDAL 1.8? I am reading the changelog.<br>
>>> >><br>
>>> >> I am using ubuntu 10.04.<br>
>>> >><br>
>>> >> Noli<br>
>>> >><br>
>>> >><br>
>>> >> On 1/5/11, Maurício de Paulo <<a href="mailto:mauricio.dev@gmail.com">mauricio.dev@gmail.com</a>> wrote:<br>
>>> >> > Done<br>
>>> >> ><br>
>>> >> > 2011/1/5 Maurício de Paulo <<a href="mailto:mauricio.dev@gmail.com">mauricio.dev@gmail.com</a>><br>
>>> >> ><br>
>>> >> >> Thanks for the suggestions!<br>
>>> >> >> Implementing now.<br>
>>> >> >> Best regards,<br>
>>> >> >> Mauricio<br>
>>> >> >><br>
>>> >> >><br>
>>> >> >> On Wed, Jan 5, 2011 at 1:55 AM, Noli Sicad <<a href="mailto:nsicad@gmail.com">nsicad@gmail.com</a>><br>
>>> wrote:<br>
>>> >> >><br>
>>> >> >>> Hi Mauricio,<br>
>>> >> >>><br>
>>> >> >>> Thanks for this plugin,<br>
>>> >> >>><br>
>>> >> >>> Suggestions<br>
>>> >> >>><br>
>>> >> >>> 1. I think it would be good to put this plugin into "Database"<br>
>>> Menu.<br>
>>> >> >>> So we can easily find it with the rest of the database plugins.<br>
>>> This<br>
>>> >> >>> also prevent the over crowding of the "Plugins" menu.<br>
>>> >> >>><br>
>>> >> >>> 2. Then probably "PostGIS Raster" instead of "Add Postgis a raster<br>
>>> >> >>> layer" since you already the same sub menu (i.e. "Add Postgis a<br>
>>> raster<br>
>>> >> >>> layer")<br>
>>> >> >>><br>
>>> >> >>> 3. Kindly place a changelog file so we know what is new in this<br>
>>> >> >>> plugin.<br>
>>> >> >>><br>
>>> >> >>> Thanks.<br>
>>> >> >>><br>
>>> >> >>> Noli<br>
>>> >> >>><br>
>>> >> >>><br>
>>> >> >>><br>
>>> >> >>><br>
>>> >> >>> On 1/5/11, Maurício de Paulo <<a href="mailto:mauricio.dev@gmail.com">mauricio.dev@gmail.com</a>> wrote:<br>
>>> >> >>> > Hi devs,<br>
>>> >> >>> > I've updated the wktraster plugin to solve a few issues and to<br>
>>> >> >>> > implement<br>
>>> >> >>> the<br>
>>> >> >>> > data loading gui.<br>
>>> >> >>> > Now the plugin have an interface to load data to the database.<br>
>>> >> >>> > I know jorge is going to ask for a few more options on the ui<br>
>>> >> >>> > but<br>
>>> I<br>
>>> >> >>> thought<br>
>>> >> >>> > that it should be as clean as possible at first. Loading data is<br>
>>> >> still<br>
>>> >> >>> > a<br>
>>> >> >>> > non-trivial task so I forced a single use case.<br>
>>> >> >>> > I couldn't test the gdal version tester as I found my windows<br>
>>> gdal<br>
>>> >> >>> version<br>
>>> >> >>> > is now 1.7.<br>
>>> >> >>> > At least I could test the data loading and visualization of the<br>
>>> >> utm.tif<br>
>>> >> >>> file<br>
>>> >> >>> > on windows 7 (thanks OSGEO4W).<br>
>>> >> >>> > I hope you enjoy.<br>
>>> >> >>> > Best regards,<br>
>>> >> >>> ><br>
>>> >> >>> > --<br>
>>> >> >>> > Mauricio de Paulo<br>
>>> >> >>> > Engenheiro Cartografo<br>
>>> >> >>> > MapeandoOBrasil <<a href="http://mapeandoobrasil.blogspot.com" target="_blank">http://mapeandoobrasil.blogspot.com</a>><br>
>>> >> >>> ><br>
>>> >> >>><br>
>>> >> >><br>
>>> >> >><br>
>>> >> >><br>
>>> >> >> --<br>
>>> >> >> Mauricio de Paulo<br>
>>> >> >> Engenheiro Cartografo<br>
>>> >> >> MapeandoOBrasil <<a href="http://mapeandoobrasil.blogspot.com" target="_blank">http://mapeandoobrasil.blogspot.com</a>><br>
>>> >> >><br>
>>> >> >><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > --<br>
>>> >> > Mauricio de Paulo<br>
>>> >> > Engenheiro Cartografo<br>
>>> >> > MapeandoOBrasil <<a href="http://mapeandoobrasil.blogspot.com" target="_blank">http://mapeandoobrasil.blogspot.com</a>><br>
>>> >> ><br>
>>> >><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > Mauricio de Paulo<br>
>>> > Engenheiro Cartografo<br>
>>> > MapeandoOBrasil <<a href="http://mapeandoobrasil.blogspot.com" target="_blank">http://mapeandoobrasil.blogspot.com</a>><br>
>>> ><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Mauricio de Paulo<br>
>> Engenheiro Cartografo<br>
>> MapeandoOBrasil <<a href="http://mapeandoobrasil.blogspot.com" target="_blank">http://mapeandoobrasil.blogspot.com</a>><br>
>><br>
>><br>
><br>
><br>
> --<br>
> Mauricio de Paulo<br>
> Engenheiro Cartografo<br>
> MapeandoOBrasil <<a href="http://mapeandoobrasil.blogspot.com" target="_blank">http://mapeandoobrasil.blogspot.com</a>><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mauricio de Paulo<br>Engenheiro Cartografo<br><a href="http://mapeandoobrasil.blogspot.com" target="_blank">MapeandoOBrasil</a><br><br>