[Qgis-user] Sextante - model error

Victor Olaya volayaf at gmail.com
Wed Dec 12 03:26:29 PST 2012


It seems that you have selected "use only selected features", but
there is no selection.

I really want to get rid of those "use selected feature" fields...I do
not think it is a good idea to have that at algorithm-level, but they
are inheriteed from the original ftools code.

try setting that to false in your model and see what happens.

Cheers

victor

2012/12/12 Michał Bełcik <belcikmichal at gmail.com>:
> Hi everyone
>
> I have to use Sextante modeler, and have built a simple model that makes the
> buffer for Grass and fTools and overlays them. Unfortunately, the same error
> keeps appearing;
>
> Error executing algorithm 1
>
> Traceback (most recent call last):
>
> File
> "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\GeoAlgorithm.py",
> line 117, in execute
>
> self.processAlgorithm(progress)
>
> File
> "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\ftools\FixedDistanceBuffer.py",
> line 81, in processAlgorithm
>
> layer, dissolve, segments)
>
> File "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\ftools\Buffer.py",
> line 50, in buffering
>
> total = 100.0 / float(layer.selectedFeatureCount())
>
> ZeroDivisionError: float division by zero
>
>
> Have I made some mistake in the commands? When I make buffers separately for
> the both functions, everything seems fine, but I wanted to built such model
> for training purposes.
>
>
> Best regards
>
>
> Michal
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



More information about the Qgis-user mailing list