[Qgis-developer] Value Tool does not work on 1.3.0

Agustin Lobo alobolistas at gmail.com
Tue Sep 15 12:55:31 EDT 2009


Yes!

Thanks a lot.

On jaunty, the graph does not work because of the qwt5 problem,
same for Scattergram and Profile, but in these two cases the installer warns
the user and he/she can uninstall.

I have a python-qwt5-qwt4 package in Synaptic, but requires
an older python (<2.6) and I have 2.6.2

Agus

Barry Rowlingson wrote:
> On Tue, Sep 15, 2009 at 5:12 PM, Agustin Lobo <alobolistas at gmail.com> wrote:
>> (This message was sent through Nabble also but I've got a note stating tha
>> was
>> not distributed. Sorry if it is finally duplicated)
>>
>> This does not seem to be the problem, as Value tool
>> does not work on intrepid either (I'm using 1.3.0.1~intrepid3)
>> On intrepid, the graphic window draws the axes but not the line
>> and both Profile and Scattergram work fine. But the value tool
>> does not print or plot the values.
>>
>> On jaunty, the graphic window complains about qwt. Have
>> not tested Profile and Scattergram (will do it in the evening). And
>> value tool does not print the values.
>>
>> So it seems there are 2 problems here, the most important one being
>> the one making value tool not printing the values.
>>
>> BTW, I think that such a fundamental information as the raster value should
>> be
>> displayed on the bottom, just besides the position information. In some
>> packages (i,e, TNTmips) you see both the actual raster values (up to 3) and
>> the RGB of the color displayed (which do not necessarily match). Then,
>> an additional tool such as the current Value tool would provide additional
>> extended information.
>>
>> Anyway, the urgent thing now is getting the value tool back working!
> 
>  I've just had a nose at the Value Tool code and I think I've solved it..
> 
>  Edit valuewidget.py and change the two instances of:
> SIGNAL("xyCoordinates(QgsPoint &)") to
> 
> SIGNAL("xyCoordinates(const QgsPoint &)")
> 
>  - it's just a case of adding 'const' before QgsPoint....
> 
>  It looks like the signal definition changed.
> 
> Barry
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alobolistas.vcf
Type: text/x-vcard
Size: 251 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090915/6c000ec7/alobolistas.vcf


More information about the Qgis-developer mailing list