Bug report #11205

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

Added by Luke Pinner about 10 years ago. Updated over 9 years ago.

Status:Closed
Priority:Normal
Assignee:Alexander Bruy
Category:Processing/Core
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

Description

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

History

#1 Updated by Victor Olaya about 10 years ago

  • Assignee changed from Victor Olaya to Alexander Bruy

#2 Updated by Alexander Bruy about 10 years ago

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

#3 Updated by Giovanni Manghi over 9 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF