[prev in list] [next in list] [prev in thread] [next in thread]
List: grass-user
Subject: Re: [GRASS-user] Error in v.distance when running from R (in a container)
From: Markus Neteler <neteler () osgeo ! org>
Date: 2020-05-25 9:11:46
Message-ID: CALFmHhuiHOYLDqRMVwO9TWsgC5HSjwAW47AM3cs_zdjG_1R5Xg () mail ! gmail ! com
[Download RAW message or body]
Hi Mehrdad,
On Mon, May 25, 2020 at 10:24 AM Mehrdad Varedi <varedi@waterlix.com> wrote:
>
> 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]
^--- and chance to expand this "truncated"? Exactly therein you will
find the error message :-)
It is in the last line of the truncated part.
Best,
Markus
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic