[GRASSLIST:4426] Re: v.to.sites error

Radim Blazek blazek at itc.it
Wed Sep 29 04:35:34 EDT 2004


Categories in 5.0/5.3 can be easily lost and labeling 
algorithm can differ in modules.
Important is output from v.what.vect on that part of line.

Radim

On Tuesday 28 September 2004 22:16, Maciek Sieczka wrote:
> Radim,
>
> one new thing about this error
>
> v.to.sites fails near the nodes as described before if the vector lines are
> prepared in v.digit but it doesn't when the vector lines are produced using
> the r.contour on a dem raster
>
> please see the attached vtosites_2.png for comaprison, where
> VIOLET - vector lines
> WHITE - sites produced with v.to.sites
>
> the inner circle was digitized and labelled in v.digit, then v.to.sites
> the outer circle was derived from a DEM with r.contour, then v.to.sites
>
> could it be that v.digit is guilty?
>
> (all refers to Grass5.3)
>
> Maciek
>
> ----- Original Message -----
> From: "Maciek Sieczka" <werchowyna at pf.pl>
> To: <grasslist at baylor.edu>
> Sent: Tuesday, September 28, 2004 12:08 AM
> Subject: [GRASSLIST:4419] Re: v.to.sites error
>
> > > > It seems that v.to.sites fails to translate some points near the
>
> nodes.
>
> > > > (...)
> > > > Unclosed line's endings are not translated either.
> > > >
> > > > This error does not depend on dmax.
> > > >
> > > > DEVELOPERS! Should I give a bug report?
> > > >
> > > > Maciek
> > > >
> > > > P.S.
> > > > I wonder if v.surf.rst uses a smililar way to translate the input
>
> vector
>
> > > > lines to points thus commit the same error?
> >
> > Radim wrote:
> > > Similar maybe, but not the same. Are you sure, that those lines have a
> > > category?
> >
> > yes I'm sure
> > digitized and labelled in v.digit
> >
> > each closed line has one node
> > the closed lines fail to convert to sites near that node
> >
> > open lines have two nodes - one on each ending
> > open lines fail to convert to sites near the nodes on the line's endings
> >
> > I worked the error around doing v.to.rast and then r.to.sites
> >
> > Maciek




More information about the grass-user mailing list