Opened 14 years ago
Closed 6 years ago
#1231 closed defect (fixed)
v.parallel2 cycles
Reported by: | akbgf | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.4.2 |
Component: | Vector | Version: | svn-trunk |
Keywords: | v.parallel2, patch | Cc: | |
CPU: | x86-32 | Platform: | Linux |
Description
GRASS-7.0 r44543
There are occasions that v.parallel can not create parallel lines to a line, v.parallel cycles forever.
Attached please find a small raster r35.txt and vector v35.txt which has a line and a centroid. The following sequence of commands will create an infinite loop:
r.in.ascii -i --overwrite input=r35.txt output=r35
v.in.ascii --overwrite input=v35.txt output=v35 format=standard fs='space'
v.parallel -b input=v35 layer=-1 output=v35b distance=10 side=both --overwrite
Andres Kuusk, Tartu Observatory, Estonia, andres@…
Attachments (3)
Change History (11)
by , 14 years ago
comment:1 by , 14 years ago
Keywords: | patch added |
---|
The function
void link__set_next(VOID_T * a, VOID_T * b)
in lib/linkm/next.c corrupted the
struct Slink { double x; struct Slink *next; };
defined in lib/vector/Vlib/poly.c by modifying x instead of *next.
The patch is attached as grass.diff
comment:2 by , 14 years ago
Keywords: | v.parallel2 added; v.parallel removed |
---|---|
Summary: | v.parallel cycles → v.parallel2 cycles |
Applies to v.parallel2, not to v.parallel.
follow-up: 4 comment:3 by , 10 years ago
Milestone: | 7.0.0 → 6.4.5 |
---|
v.parallel2 only exists in GRASS 6, downgrading milestone.
comment:4 by , 10 years ago
Milestone: | 6.4.5 → 7.0.0 |
---|
Replying to neteler:
v.parallel2 only exists in GRASS 6, downgrading milestone.
v.parallel2 has been renamed to v.parallel in GRASS 7, restoring milestone.
comment:5 by , 9 years ago
Milestone: | 7.0.0 → 7.0.5 |
---|
comment:6 by , 8 years ago
Milestone: | 7.0.5 → 7.0.6 |
---|
comment:7 by , 7 years ago
Milestone: | 7.0.6 → 7.0.7 |
---|
comment:8 by , 6 years ago
Milestone: | 7.0.7 → 7.4.2 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Seems to be fixed in G74.
Raster 26x37 (clos-rows)