[Qgis-developer] Sextante: vector to raster

Paolo Cavallini cavallini at faunalia.it
Thu May 31 11:01:40 PDT 2012


Il 31/05/2012 18:30, Victor Olaya ha scritto:
>> I'm trying to use Sextante to convert a vector to a raster, but:
>> - GRASS v.to.rast does not work (ticket open)
> 
> Resolved in r198. Now there are 2 algs

Thanks for this - BTW, what is the utility of having the "val" parameter here?

>> - GDAL rasterization is missing
> 
> True. Maybe it should be added

+1

> To fill the extent field you can use the extent of a layer, just by
> clicking on the button on its right-hand side and selecting "use
> layer/canvas" extent. There you can select a layer or even the extent
> of the current map view :-) To do this you need to have the parameters
> dialog not in table mode, but in the complete mode (this can be set in
> the configuration, in the "general" group)

I found this in saga, not in OTB: am I wrong?

BTW, I get an error while using shape to grid (saga):

An error has occured while executing Python code:

Traceback (most recent call last):
  File "/home/paolo/.qgis//python/plugins/sextante/gui/ParametersDialog.py", line
147, in accept
    if self.setParamValues():
  File "/home/paolo/.qgis//python/plugins/sextante/gui/ParametersDialog.py", line 98,
in setParamValues
    if not self.setParamValue(param, self.paramTable.valueItems[param.name]):
  File "/home/paolo/.qgis//python/plugins/sextante/gui/ParametersDialog.py", line
139, in setParamValue
    return param.setValue(widget.getValue())
  File "/home/paolo/.qgis//python/plugins/sextante/parameters/ParameterExtent.py",
line 11, in setValue
    if value is None:
NameError: global name 'value' is not defined

All the best.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc


More information about the Qgis-developer mailing list