[Qgis-developer] profile from line: 2 issues
Ricardo Filipe Soares Garcia da
ricardo.garcia.silva at gmail.com
Tue Feb 7 17:10:25 EST 2012
Hi Paolo
> One more:
>
>
> Traceback (most recent call last):
> File "C:\Documents and Settings\eleauser/.
> qgis/python/plugins\profiletool\doProfile.py", line 244, in selectLayer1
> self.readData(0)
>
> File "C:\Documents and Settings\eleauser/.
> qgis/python/plugins\profiletool\doProfile.py", line 152, in readData
> res = self.profiles[nr]["layer"].rasterUnitsPerPixel() * 1.2 # a * 1.2
> is a "mean" dimiesion of pixel on any direction
> AttributeError: 'QgsVectorLayer' object has no attribute
> 'rasterUnitsPerPixel'
This crash is refering to the 'Profile tool' plugin, not 'Profile from line'.
I guess the name of my plugin is kind of unfortunate... it could
probably be changed to something like 'sample along line'...
Best regards
--
___________________________ ___ __
Ricardo Garcia Silva
More information about the Qgis-developer
mailing list