Vaclav Petras [2018-08-14 23:20:16 -0400]:
* Get SRS/CRS for a file:
grass --tmp-location ~/data/elevation.tiff --exec g.proj -p
Nikos:
Perhaps test if the file exists and, if not, exit with an informative error
message?
In Python:
import os.path
os.path.isfile(fname)
?
Hi Nikos,
On Thu, Aug 16, 2018 at 4:06 AM, Pierre Roudier
wrote:
>
> Thanks Vaclav,
You are welcome. I hope it will be helpful.
> Looks like a great enhancement. It should make it easy to wrap it into
> a R package for example.
Yes, the idea for this is that it also should make easy to wrap GRASS GIS
On Thu, Aug 16, 2018 at 6:39 AM, Nikos Alexandris
wrote:
>
> * Vaclav Petras [2018-08-14 23:20:16 -0400]:
>
> ..
>
>> If you are interested, please, test this new functionality. It is an
>> opportunity to provide feedback before this feature lands in the 7.6
>> release.
>>
>> Here are some
* Vaclav Petras [2018-08-14 23:20:16 -0400]:
..
If you are interested, please, test this new functionality. It is an
opportunity to provide feedback before this feature lands in the 7.6
release.
Here are some things to try:
* Execute a module in a location created based on EPSG:
grass
r On Behalf Of Pierre
> Roudier
> Sent: torsdag 16. august 2018 10:07
> To: Vaclav Petras
> Cc: GRASS user list
> Subject: Re: [GRASS-user] New CLI option --tmp-location in 7.5 to enhance
> --exec
>
> Thanks Vaclav,
>
> Looks like a great enhancement. It should mak
user list
Subject: Re: [GRASS-user] New CLI option --tmp-location in 7.5 to enhance --exec
Thanks Vaclav,
Looks like a great enhancement. It should make it easy to wrap it into a R
package for example.
One question -- is that possible to refer to the input dataset in the script
called by --exec
Thanks Vaclav,
Looks like a great enhancement. It should make it easy to wrap it into
a R package for example.
One question -- is that possible to refer to the input dataset in the
script called
by --exec? Something like:
grass --tmp-location ~/data/elevation.tiff --exec "r.param.scale
Dear user list,
The (main) GRASS GIS executable, usually available as simply `grass` on
most systems has now a new option (flag/parameter) in trunk (aka 7.5). The
option is called --tmp-location.
When specified, GRASS GIS automatically creates an new (and empty) location
based on provided EPSG