[Qgis-user] Re: Sextante plugin works except with GRASS

Pietro Rossin pierigis at gmail.com
Fri May 11 01:17:27 PDT 2012


Ok Victor
I read the grass.txt description and one thing isn't clear to me.
If I add a "description.txt" to the description folder in \sextante\grass\
then the module described there is automatically loaded among sextante
algorithms?

Controlling and editing description files, as described in grass.txt file,
doesn't seem to be a difficult task for a rookie like me..
So I can modify them in case they don't work as expected, test them and ask
you if it's the case to upload via svn. Is that ok for you?

Thanks again
Pietro

2012/5/10 Victor Olaya-3 [via OSGeo.org] <
ml-node+s1560n4965635h30 at n6.nabble.com>

> > This module don't start if you don't have a raster in the Qgis TOC with
> an
> > error like "Wrong or missing parameter values". This raster is required
> if
> > you want a mask layer to be used but not always is the case and grass
> let
> > you decide if use it or not.
>
> > Then
> > I only made some test with a raster used as mask but the module don't
> load
> > output layers because of some cross validation problems..
> > All these parameters seem to be optional in Grass but I think that
> sextante
> > consider them obligatory.
>
> I have just made the layer optional and uploaded the new description
> to the SVN. Note that if you find errors like that, you can modify the
> description of GRASS algorithms yourself and help us improve the
> SEXTANTE-GRASS link. Read this to know how to do it:
>
>
> http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin/src/sextante/grass/grass.txt
>
>
> > Then
> > Grass module let you choose if you want to use layer 0 (i.e. 3D vector)
> or
> > layer n (1 i.e. z column). In sextante it is assumed that you use layer
> 1
> > and of course you have to specify z column name.
>
> Do QGIS support 3D vector? I was not sure about that, so I assumed
> that most likely for most users, z values would be in a separate field
>
> > Then
> > In Grass there are 10 output files, 6 raster and 4 vectorial and you can
> > choose if you want them or not - at least one (in my case elev).
> > Sextante elaborate each one of them (If I'm not wrong) and then let you
> > choose if you want to add to the TOC.
> > Would it be better if you can choose which one to elaborate (could be
> time
> > spending) and then if you want to add it to the TOC?
>
> That would be easy to do for the toolbox...but very hard for the
> modeler :-( The modeler needs a well-defined sematic of the algorithm.
> If the number or outputs depends on the user...that makes things
> really hard to control...which means more work on the developer side.
> I have decided to first strive for a robust modeler, which means taht
> algorithms are more restricted (or, if they are not restricted, they
> can be left out of the modeler, but I think in this case it is worth
> to have that process available in the modeler)
>
> By now, the only solution is to not load layers, which is just a
> cosmetic trick, but does not add extra performance if a layer is not
> added, because is generated anyway
>
> > And, if you don't specify the name the layer is given a number as name,
> but
> > it could be confusing if you let sextante work on more output than one
> more
> > without specify each name.. So may be it would be better to concatenate
> a
> > random number with the parameter name?
>
> If you want names instead of filenames (those number are a temporary
> filename), you can set it in the general settings, unckecking the "use
> filename as layer name" box. Doing that, it will use the output name
> (in this case, the GRASS output name)
>
> > At the end I couldn't obtain any output, I attach some logs
>
> should work now. Please, check the SVN version. There are now two
> algorithms, one for the interpolation and one for the cross validation
> (v.surf.rst.cvdev). I have, however, removed the "devi" output, since
> it blocks grass when i use it... I have also removed the derived
> outputs (slope, etc), to keep things more simple. All those can later
> be extracted with another algorithm in SEXTNATE.
>
> As I said, there is much work to do in polishing algorithm
> descriptions. It is easy, but boring...so we are slowly advancing and
> hopefully will soon have SEXTANTE working fine with all these external
> applications.
>
> Regards
> _______________________________________________
> Qgis-user mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4965635&i=0>
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.n6.nabble.com/Sextante-plugin-works-except-with-GRASS-tp4958903p4965635.html
>  To unsubscribe from Sextante plugin works except with GRASS, click here<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4958903&code=cGllcmlnaXNAZ21haWwuY29tfDQ5NTg5MDN8MjMwODY1MTQ5>
> .
> NAML<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Sextante-plugin-works-except-with-GRASS-tp4958903p4967897.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120511/11a55c57/attachment.html>


More information about the Qgis-user mailing list