[Interna] [Fwd: Re: [GRASS-user] v.lrs.create usage?]
Markus Neteler
neteler at itc.it
Fri May 18 18:38:06 EDT 2007
On Mon, May 14, 2007 at 12:53:47PM +0200, Leonardo Lami wrote:
> Hi all,
> I tryed to follow your example and it seems work well, hut my result is
> quite strange.
> I have a vector (rls_route) with only one category (1) and a table, with
> the same name but not connected, that I link to the mail.
Indeed, they are not connected for some (unknown) reason.
db.select route_lrs
shows the table contents.
Mhh.
I just tried (and fixed) v.lrs.label:
v.lrs.label route_lrs out=route_lrs_labels rstable=route_lrs labels=route_lrs_labels
d.vect route_lrs_labels
d.labels route_lrs_labels
... does something.
Also to explore:
v.lrs.segment v.lrs.where
Markus
> I imaged a new vector divided in segments, every one linked to a row in
> the table...is not?
>
> Thanks
>
> Leonardo
>
>
> > -------- Messaggio Originale --------
> > Oggetto: Re: [GRASS-user] v.lrs.create usage?
> > Data: Sun, 22 Apr 2007 00:21:48 +0200
> > Da: Markus Neteler <neteler at itc.it>
> > A: grassuser at grass.itc.it
> > Referenze: <461281EE.1020800 at itc.it>
> >
> > On Tue, Apr 03, 2007 at 06:33:50PM +0200, Markus Neteler wrote:
> > > Hi,
> >
> > > is there anyone who successfully used v.lrs.create? I am apparently
> > > lacking a hint to get it running. Currently it complains about
> > > WARNUNG: start of 1. MP >= start of 2. MP for points' cats 31, 30
> >
> > > How to populate the tables correctly?
> >
> > After quite some debugging (luckily it's open source!) I
> > figured out the trick:
> >
> > The start_mp/end_mp columns must be decimal (not integer as stated
> > in Radim's article which is probably slightly older than the
> > implementation
> > in GRASS 6).
> >
> > I have added a simple example to the manual page.
> > http://grass.itc.it/grass63/manuals/html63_user/v.lrs.create.html
> >
> > You can try with a vector line and 3 points along this line (in
> > a separate map).
> >
> > cheers
> > Markus
> >
> > PS: Also updated related docs in 6.2-CVS
> >
> > _______________________________________________
> > grassuser mailing list
> > grassuser at grass.itc.it
> > http://grass.itc.it/mailman/listinfo/grassuser
> >
> >
>
--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
FBK-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the grass-user
mailing list