Opened 10 years ago

Closed 10 years ago

#911 closed defect (fixed)

v.parallel: user interface change in 6.x line

Reported by: msieczka Owned by: grass-dev@…
Priority: blocker Milestone: 6.4.0
Component: Vector Version: svn-develbranch6
Keywords: v.parallel Cc:
CPU: All Platform: All

Description

There is a user interface change to v.parallel in GRASS 6.x. The option distance' does not accept negative offsets anymore, and introduces a new side' option to distinguish left/right, instead.

Before v.parallel2, v.parallel used to accept negative numbers for dist. Now it fails:

$ v.parallel in=lines out=lines_par dist=-1

ERROR: value <-1> out of range for parameter <distance>
       Legal range: 0-100000000

I guess such a change to user interface within a stable release line is not allowed.

Change History (2)

comment:1 Changed 10 years ago by hamish

Keywords: v.parallel added

fixed in devbr6 with r41042. please test.

module is still rather buggy, & it gets differently worse after v.build.polylines. (test map: railroads@spearfish)

  • see v.buffer bug report, it's the same lib fn causing problems AFAIK.

I didn't figure out how to get angle= to work. maybe I need minordistance for that? (docs needed)

Hamish

comment:2 Changed 10 years ago by hamish

Resolution: fixed
Status: newclosed

backported to relbr64 with r41064.

Note: See TracTickets for help on using tickets.