[GRASS-user] How work the "-c" option of grass text

Vaclav Petras wenzeslaus at gmail.com
Sun Jun 21 16:32:08 PDT 2015


Hi Andrea,

quick but untested answer:

On Sun, Jun 21, 2015 at 6:44 PM, Andrea Peri <aperi2007 at gmail.com> wrote:

> grass70 -text -c /path-raster/immagine.tif  /path-grassdata/test_location
> -e


grass70 -e -c /path-raster/immagine.tif  /path-grassdata/test_location

According to --help, the Location path must be the last parameter.

Although now I see that --help might not be precise about path to Location
versus path to Mapset in case of -c. Some bash scripts to test this stuff
would be needed as well.

Since you are using this API, keep an eye on what is happening in trunk now:

http://grass.osgeo.org/grass71/manuals/grass7.html#exec-interface-example
https://lists.osgeo.org/pipermail/grass-user/2015-June/072511.html
https://trac.osgeo.org/grass/ticket/2579
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150621/4fc99ce8/attachment.html>


More information about the grass-user mailing list