Feature request #7727

Support GRASS rasters as inputs in Processing

Added by Anita Graser almost 7 years ago. Updated almost 3 years ago.

Status:Feedback
Priority:Normal
Assignee:Victor Olaya
Category:Processing/Core
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:16635

Description

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
gtopo30.


Related issues

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

History

#1 Updated by Victor Olaya almost 7 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 almost 7 years ago

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

#3 Updated by pvanbosgeo - almost 6 years ago

Any development on this?

#4 Updated by Giovanni Manghi over 5 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 over 5 years ago

  • Category set to Processing/Core

#6 Updated by Giovanni Manghi over 5 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 about 5 years ago

Apparently, GRASS rasters are supported by GDAL:

gdalinfo --formats | grep -i grass
GRASSASCIIGrid (rov): GRASS ASCII Grid

#8 Updated by Paolo Cavallini about 5 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 almost 3 years ago

  • Easy fix? set to No

Also available in: Atom PDF