<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 4, 2015 at 12:43 PM, Roger Bivand <span dir="ltr"><<a href="mailto:Roger.Bivand@nhh.no" target="_blank">Roger.Bivand@nhh.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":160" class="" style="overflow:hidden">Hi,<br>
<br>
This is:<br>
<br>
<a href="http://trac.osgeo.org/grass/wiki/GSoC/2015#Neweasy-to-usecommandlineinterfaceforGRASSGIS" target="_blank">http://trac.osgeo.org/grass/wiki/GSoC/2015#Neweasy-to-usecommandlineinterfaceforGRASSGIS</a><br>
<br>
is it? Did it get accepted - I don't see this on:<br>
<br>
<a href="http://www.google-melange.com/gsoc/org2/show/google/gsoc2015/osgeo" target="_blank">http://www.google-melange.com/gsoc/org2/show/google/gsoc2015/osgeo</a><br>
<br>
and think that only improved metadata got funded. Do we know what the actual status is on this?</div></blockquote></div><br></div><div class="gmail_extra">Hi Roger,<br><br></div><div class="gmail_extra">I can answer it :) I'm doing it simply because I need it (and I'm also tired of solving the setup of environment variables over on over). However, the GSoC idea went behind what I implemented. I implemented:<br><br>grass /path/to/mapset --exec r.external input=elevation.tiff output=elevation<br>grass /path/to/mapset --exec r.univar map=elevation<br><br></div><div class="gmail_extra">Once conceptual questions are answered, it should be relatively simple to add the following:<br><br>grass setmapset /path/to/mapset<br>grass run r.external input=elevation.tiff output=elevation<br>grass run r.univar map=elevation<br><br></div><div class="gmail_extra">The GSoC idea went much further:<br><br>grass execute r.univar map=file://elevation.tiff<br><br></div><div class="gmail_extra">* I used `execute` in the example, I'm not comfortable with the name but the idea is to keep the names different for each interface to distinguish the interfaces (but perhaps it is a wrong idea?). From discussion with Rainer, I see that parameters won't cut it for shebang and there needs to be a separate executable something like `grassscript`.<br><br></div><div class="gmail_extra">It would love to accommodate needs of the R interface. We just need to figure out what they are. <br><br></div><div class="gmail_extra">Vaclav<br></div></div>