Bug report #11205

Extract_raster_values_to_CSV.py raises exception - 'Dataset' object has no attribute 'mapToPixel'

Added by Luke Pinner over 9 years ago. Updated almost 9 years ago.

Assignee:Alexander Bruy
Affected QGIS version:2.4.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:19515


Per this GISSE question - http://gis.stackexchange.com/a/113784/2856 - there appears to be a small bug in Extract_raster_values_to_CSV.py which causes an error - 'Dataset' object has no attribute 'mapToPixel'.

Untested fix should be just to replace `raster.mapToPixel` with `mapToPixel` on line 88 of /python/plugins/processing/script/scripts/Extract_raster_values_to_CSV.py


#1 Updated by Victor Olaya over 9 years ago

  • Assignee changed from Victor Olaya to Alexander Bruy

#2 Updated by Alexander Bruy over 9 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

#3 Updated by Giovanni Manghi almost 9 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF