Opened 17 years ago

Last modified 9 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 16 years ago.
inside corner problems with v.parallel2

Download all attachments as: .zip

Change History (18)

comment:1 by hamish, 17 years ago

this was bug # 390 on gforge

H

comment:2 by hamish, 17 years ago

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

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

Hamish

comment:3 by neteler, 17 years ago

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 by martinl, 16 years ago

CPU: Unspecified
Platform: Unspecified

Still actual since we have v.parallel2?

comment:5 by hamish, 16 years ago

Apparently still an issue. see attached screenshot,

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

Hamish

by hamish, 16 years ago

Attachment: vp2_rr_500m.png added

inside corner problems with v.parallel2

comment:6 by hamish, 16 years ago

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 by hamish, 16 years ago

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

Hamish

comment:8 by hamish, 16 years ago

Cc: rmatev added

comment:9 by rmatev, 16 years ago

Owner: changed from grass-dev@… to rmatev

comment:10 by hamish, 16 years ago

Cc: grass-dev@… added

comment:11 by hamish, 16 years ago

Keywords: v.parallel added

comment:12 by martinl, 15 years ago

Component: defaultVector

comment:13 by hamish, 15 years ago

see also #699 and #994

comment:14 by hamish, 15 years ago

Keywords: v.buffer added

comment:15 by mmetz, 14 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
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 by neteler, 9 years ago

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