[GRASS-user] Error in v.distance when running from R (in a container)
Mehrdad Varedi
varedi at waterlix.com
Mon May 25 01:23:52 PDT 2020
Hi Everyone,
I can run the R program with no problem from a Shiny app I have in Rstudio.
Although when running the program from a container, I receive an error when
running the v.distance and program halts.
here is the error dump I receive, not so much informative, although I
appreciate to know if you have ever seen such an issue: (FYI many other
grass functions are executed before this error happens)
Warning: Error in execGRASS: The command:
v.distance --overwrite --verbose from=WM_End from_layer=1 from_type=point
to=WM_start to_layer=1 to_type=point dmax=0.5 dmin=-1 upload=to_attr
column=LinkedWMID to_column=WMAINID separator=tab
produced an error (1) during execution:
Finds the nearest element in vector map 'to' for elements in vector map
'from'.
Usage:
v.distance [-pas] from=name [from_layer=string]
[from_type=string[,string,...]] to=name [to_layer=string]
[to_type=string[,string,...]] [output=name] [dmax=value] [dmin=value]
upload=string[,string,...] [column=name[,name,...]] [to_column=name]
[table=name] [separator=character] [--overwrite] [--help] [--verbose]
[--quiet] [--ui]
Flags:
-p Print output to stdout, don't update attribute table
-a Calculate distances to all features within the threshold
-s Print output as square matrix (only possible for one single upload
variable)
Parameters:
from Name of existing vector map (from)
from_layer Laye [... truncated]
80: stop
79: execGRASS
78: MarkTheEnds
77: GetBaseNetworkNTransform
Thanks and Kind regards,
Mehrdad
Mehrdad Varedi, M.A.Sc.
Waterlix <http://www.waterlix.com> Inc. Founder
www.waterlix.com
Cell: +1 (519)722-7057
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20200525/b527658e/attachment.html>
More information about the grass-user
mailing list