New answers tagged sextante
If you look at the file "processing_qgis.log" in the folder ".qgis2/processing", it lists all the processed commands from Processing and their status(success, errors) If I apply "Shapes to grid", leaving the field "Output extent(xmin, xmax,ymin,ymax)" empty (your None): the result in "processing_qgis.log" is: ALGORITHM|Mon Nov 18 2013 ...
If you have QGIS 2.0, you will find these tools in the processing toolbox. If you cannot see the toolbox, then you can activate it under: View--> Panels --> Toolbox go to the bottom and change from simplified interface to advanced interface. You should now be able to see the Grass and Saga tools.
You might consider using GRASS (which interfaces with QGIS) for this process. See this link for more information: http://grasswiki.osgeo.org/wiki/LANDSAT The answer provided by @markusN on this question provides additional information and examples of what GRASS can be used for with Landsat-8.
As it turns out, this works fine as long as you add the memory layer to the table of contents before using it. It seems the dataobjects.getObjectFromUri function in the QGIS source can't handle it otherwise. So the following works very well: QgsMapLayerRegistry.instance().addMapLayer(mem_layer) processing.runalg("qgis:clip", layer, mem_layer, output) ...
Aaaand I found it. Use processing.runandload, which loads the output layer into the table of contents after running the algorithm. processing.runandload("qgis:intersection", layer1, layer2, "memory:myLayerName") layer = QgsMapLayerRegistry.instance().mapLayersByName("memory:myLayerName") # Should do error checking as well, but this works!!
Top 50 recent answers are included