Feature request #7727

Support GRASS rasters as inputs in Processing

Added by Anita Graser over 10 years ago. Updated over 6 years ago.

Assignee:Victor Olaya
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:16635


As reported: http://osgeo-org.1560.x6.nabble.com/Should-it-be-possible-to-use-GRASS-rasters-in-Sextante-td5048075.html

I'm working with QGIS sample data GRASS datset. Loaded the airports and
gtopo30. I can select the airport layer in Sextante dialogs but not

Related issues

Duplicated by QGIS Application - Bug report #13408: Graphical Modeler Raster layer Input does not recognize G... Closed 2015-09-23


#1 Updated by Victor Olaya over 10 years ago

  • Status changed from Open to Feedback

This is a complex issue.

GRASS layers cannot be used in their native format by other apps like SAGA, OTB, etc. They have to be converted. But to convert a layer when its needed, SEXTANTE uses GDAL. GDAL, however, does not support GRASS layers, so the only way of doing it is to load the layer into memory and then write it to a GDAL-supported format. This will not work for large layers.

Finding a solution for all cases doesn't seem to be easy... I would like to think a bit more about this before adding a solutino that will not work in many cases, which will make SEXTANTE unstable in case of using GRASS layers.

Ideas and comments are welcome

#2 Updated by Paolo Cavallini over 10 years ago

This is why ``libgdal1-1.9.0-grass`` exists

#3 Updated by pvanbosgeo - over 9 years ago

Any development on this?

#4 Updated by Giovanni Manghi almost 9 years ago

  • Crashes QGIS or corrupts data set to No
  • Affected QGIS version set to 2.4.0
  • Category deleted (63)
  • Project changed from 78 to QGIS Application

#5 Updated by Giovanni Manghi almost 9 years ago

  • Category set to Processing/Core

#6 Updated by Giovanni Manghi almost 9 years ago

  • Tracker changed from Bug report to Feature request
  • Priority changed from High to Normal
  • Subject changed from Can't use GRASS rasters to Support GRASS rasters as inputs in Processing

#7 Updated by Paolo Cavallini over 8 years ago

Apparently, GRASS rasters are supported by GDAL:

gdalinfo --formats | grep -i grass

#8 Updated by Paolo Cavallini over 8 years ago

So, it seems that GRASS rasters are simply filtered out. In this case, the fix would be trivial.

#9 Updated by Giovanni Manghi over 6 years ago

  • Easy fix? set to No

Also available in: Atom PDF