Opened 14 years ago

Last modified 6 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

Description

this was bug # over on the old gforge tracker. moving it here. http://wald.intevation.org/tracker/index.php?func=detail&aid=390&group_id=21&atid=204

Hamish


2007-05-04

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.

Hamish

Attachments (1)

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

Download all attachments as: .zip

Change History (18)

comment:1 Changed 14 years ago by hamish

this was bug # 390 on gforge

H

comment:2 Changed 14 years ago by hamish

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

http://intevation.de/rt/webrt?serial_num=2765

Hamish

comment:3 Changed 14 years ago by neteler

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

Markus

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

comment:4 Changed 13 years ago by martinl

CPU: Unspecified
Platform: Unspecified

Still actual since we have v.parallel2?

comment:5 Changed 13 years ago by hamish

Apparently still an issue. see attached screenshot,

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

Hamish

Changed 13 years ago by hamish

Attachment: vp2_rr_500m.png added

inside corner problems with v.parallel2

comment:6 Changed 13 years ago by hamish

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

Hamish

comment:7 Changed 13 years ago by hamish

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

Hamish

comment:8 Changed 13 years ago by hamish

Cc: rmatev added

comment:9 Changed 13 years ago by rmatev

Owner: changed from grass-dev@… to rmatev

comment:10 Changed 13 years ago by hamish

Cc: grass-dev@… added

comment:11 Changed 13 years ago by hamish

Keywords: v.parallel added

comment:12 Changed 12 years ago by martinl

Component: defaultVector

comment:13 Changed 12 years ago by hamish

see also #699 and #994

comment:14 Changed 12 years ago by hamish

Keywords: v.buffer added

comment:15 Changed 11 years ago by mmetz

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 Changed 9 years ago by neteler

Cc: rmatev removed
Milestone: 6.4.06.4.3

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 Changed 6 years ago by neteler

Milestone: 6.4.36.4.6
Note: See TracTickets for help on using tickets.