[GRASS-dev] [GRASS GIS] #90: v.parallel: problems with inside corners

#90: v.parallel: problems with inside corners
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Keywords: |
---------------------+------------------------------------------------------
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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#90: v.parallel: problems with inside corners
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by hamish):

this was bug # 390 on gforge

H

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#90: v.parallel: problems with inside corners
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by hamish):

see also the v.buffer bug on the old RT tracker:
   http://intevation.de/rt/webrt?serial_num=2765

Hamish

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#90: v.parallel: problems with inside corners
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90#comment:3&gt;
GRASS trac <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#90: v.parallel: problems with inside corners
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by martinl):

  * platform: => Unspecified
  * cpu: => Unspecified

Comment:

Still actual since we have v.parallel2?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel: problems with inside corners
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by hamish):

Apparently still an issue. see attached screenshot,

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

Hamish

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel: problems with inside corners
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel: problems with inside corners
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by hamish):

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

Hamish

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel: problems with inside corners
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):

* cc: rmatev (added)

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel: problems with inside corners
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: rmatev
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):

* cc: grass-dev@lists.osgeo.org (added)

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/90#comment:10&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel: problems with inside corners
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: rmatev
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords: v.parallel
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):

  * keywords: => v.parallel

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/90#comment:11&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel: problems with inside corners
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: rmatev
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Vector | Version: unspecified
Resolution: | Keywords: v.parallel
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by martinl):

  * component: default => Vector

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90#comment:12&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel: problems with inside corners
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: rmatev
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Vector | Version: unspecified
Resolution: | Keywords: v.parallel
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by hamish):

see also #699 and #994

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/90#comment:13&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel: problems with inside corners
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: rmatev
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Vector | Version: unspecified
Resolution: | Keywords: v.parallel, v.buffer
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):

  * keywords: v.parallel => v.parallel, v.buffer

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/90#comment:14&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel2: problems with inside corners
------------------------------------+---------------------------------------
Reporter: hamish | Owner: rmatev
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Vector | Version: unspecified
Keywords: v.parallel2, v.buffer2 | Platform: Unspecified
      Cpu: Unspecified |
------------------------------------+---------------------------------------
Changes (by mmetz):

  * keywords: v.parallel, v.buffer => v.parallel2, v.buffer2

Comment:

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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/90#comment:15&gt;
GRASS GIS <http://grass.osgeo.org>

#90: v.parallel2: problems with inside corners
------------------------------------+---------------------------------------
Reporter: hamish | Owner: rmatev
     Type: defect | Status: new
Priority: major | Milestone: 6.4.3
Component: Vector | Version: unspecified
Keywords: v.parallel2, v.buffer2 | Platform: Unspecified
      Cpu: Unspecified |
------------------------------------+---------------------------------------
Changes (by neteler):

* cc: rmatev (removed)
  * milestone: 6.4.0 => 6.4.3

Comment:

Tested in 6.4.svn, still odd results on more complex vector maps:
{{{
# NC
v.parallel in=railroads dist=500 out=rr_500m
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/90#comment:16&gt;
GRASS GIS <http://grass.osgeo.org>