[Qgis-developer] segfault
Ghislain Picard
ghislain.picard at lgge.obs.ujf-grenoble.fr
Sat Sep 27 15:48:43 EDT 2008
A new version of scattergram for the HEAD version.
It also includes a new feature: an area can be selected on the image and
it is plotted with a distinct color on the scattergram.
Thanks in advance for testing.
Ghislain
Peter Ersts wrote:
> Paolo,
> Actually just deactivating is not enough to get the plugin to stop until
> you restart QIS. So I am sure it is still that plugin that is causing
> the problem.
>
> However, with my recent changes to QgsRasterLayer::identify(), plugin
> does need to be updated.
> my hack looked something like this (note it is just four lines at the
> beginning that are actually different...
>
> Starting on line 114 of valuewidget.py
> for layer in rasterlayers:
> identifyResults = layer.identify(mapPos)
> isValid = identifyResults[0]
> ident = identifyResults[1]
> if isValid:
> layername=str(layer.name())
> iband=1
> for j in ident: # loop over the bands
> layernamewithband=layername
> if len(ident)>1:
> layernamewithband+=' '+j
>
> self.values.append((layernamewithband,ident[j]))
>
> cstr=layer.getContrastEnhancement(iband)
> self.ymin=min(self.ymin,cstr.getMinimumValue())
> self.ymax=max(self.ymax,cstr.getMaximumValue())
> iband+=1
>
> self.printInTable()
> self.plot()
>
>
> cheers
> -pete
>
>
> Paolo Cavallini wrote:
>> Borys Jurgiel ha scritto:
>>
>>> Friday 26 of September 2008 18:42:24 Paolo Cavallini napisał(a):
>>>
>>>> Deactivating the Value tools plugin seems to cure the problem.
>>>> All the best.
>>>> pc
>>>>
>>> Right! I'll contact the Author.
>>>
>>
>>
>> Talked too early: still get the same erro, even after deactivating it.
>> Perhaps I should uninstall it.
>> All the best.
>> pc
>>
>
>
--
Ghislain Picard
Laboratoire Glaciologie et Geophysique de l'Environnement
54 rue Molière
38400 St Martin d'Hères, FRANCE
tel : +33 476 82 42 42
fax : +33 476 82 42 01
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scattergram.zip
Type: application/zip
Size: 14550 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080927/e0678e89/scattergram-0001.zip
More information about the Qgis-developer
mailing list