Opened 16 years ago

Last modified 8 years ago

#90 new defect

v.parallel2: problems with inside corners

Reported by: hamish Owned by: rmatev
Priority: major Milestone: 6.4.6
Component: Vector Version: unspecified
Keywords: v.parallel2, v.buffer2 Cc: grass-dev@…
CPU: Unspecified Platform: Unspecified


this was bug # over on the old gforge tracker. moving it here.



There is a problem with v.segment side-offset parallel line generation for inside corners. It is in Vect_line_parallel(), so v.parallel, v.buffer, et al. are also affected. See it by doing the "-500" side-offset example in the v.segment help page and changing -500 to +500. Or do "v.parallel dist=500" using the railroads vector map.


Attachments (1)

vp2_rr_500m.png (6.1 KB ) - added by hamish 15 years ago.
inside corner problems with v.parallel2

Download all attachments as: .zip

Change History (18)

comment:1 by hamish, 16 years ago

this was bug # 390 on gforge


comment:2 by hamish, 16 years ago

see also the v.buffer bug on the old RT tracker:


comment:3 by neteler, 16 years ago

Possibly v.parallel should be a wrapper around v.segment.


PS: Test to see if reports are coming with trac prefix now

comment:4 by martinl, 15 years ago

CPU: Unspecified
Platform: Unspecified

Still actual since we have v.parallel2?

comment:5 by hamish, 15 years ago

Apparently still an issue. see attached screenshot,

v.parallel in=railroads dist=500 out=rr_500m


by hamish, 15 years ago

Attachment: vp2_rr_500m.png added

inside corner problems with v.parallel2

comment:6 by hamish, 15 years ago

v.parallel2's -b or -rb flag helps here. Still some weirdness at line nodes (creates square/circle in middle of railroad)


comment:7 by hamish, 15 years ago

v.segment man page example with +500 still has problems.


comment:8 by hamish, 15 years ago

Cc: rmatev added

comment:9 by rmatev, 15 years ago

Owner: changed from grass-dev@… to rmatev

comment:10 by hamish, 15 years ago

Cc: grass-dev@… added

comment:11 by hamish, 15 years ago

Keywords: v.parallel added

comment:12 by martinl, 15 years ago

Component: defaultVector

comment:13 by hamish, 14 years ago

see also #699 and #994

comment:14 by hamish, 14 years ago

Keywords: v.buffer added

comment:15 by mmetz, 13 years ago

Keywords: v.parallel2 v.buffer2 added; v.parallel v.buffer removed
Summary: v.parallel: problems with inside cornersv.parallel2: problems with inside corners

Applies to v.parallel2 only, not to v.parallel

comment:16 by neteler, 12 years ago

Cc: rmatev removed

Tested in 6.4.svn, still odd results on more complex vector maps:

# NC
v.parallel in=railroads dist=500 out=rr_500m

comment:17 by neteler, 8 years ago

Note: See TracTickets for help on using tickets.