[GRASS-dev] [GRASS GIS] #1548: v.generalize: strange behaviour on win

#1548: v.generalize: strange behaviour on win
-------------------------+--------------------------------------------------
Reporter: pcav | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Default | Version: 6.4.2 RCs
Keywords: | Platform: MSWindows XP
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Commands like:

v.generalize input=province@Mapset_stefano type=area layer=1 -c
type=boundary method=douglas threshold=100000 look_ahead=7
reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0
closeness_thresh=0 betweeness_thresh=0 alpha=1.0 beta=1.0 iterations=1
output=Province_general3

on Linux go well, whereas on windows some of the features are not
simplified: see
https://int.faunalia.it/~paolo/generalize.zip
for an example.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1548&gt;
GRASS GIS <http://grass.osgeo.org>

#1548: v.generalize: strange behaviour on win
------------------------------------+---------------------------------------
Reporter: pcav | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Default | Version: 6.4.2 RCs
Keywords: wingrass, v.generalize | Platform: MSWindows XP
      Cpu: Unspecified |
------------------------------------+---------------------------------------
Changes (by hamish):

  * keywords: => wingrass, v.generalize

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

#1548: v.generalize: strange behaviour on win
------------------------------------+---------------------------------------
Reporter: pcav | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Vector | Version: 6.4.2 RCs
Keywords: wingrass, v.generalize | Platform: MSWindows XP
      Cpu: Unspecified |
------------------------------------+---------------------------------------
Changes (by hamish):

  * component: Default => Vector

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

#1548: v.generalize: strange behaviour on win
------------------------------------+---------------------------------------
Reporter: pcav | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Vector | Version: 6.4.2 RCs
Keywords: wingrass, v.generalize | Platform: MSWindows XP
      Cpu: Unspecified |
------------------------------------+---------------------------------------

Comment(by pcav):

This may be related to different versions: 6.4.1 on Linux (good results),
6.4.2RC3 on Windows (bad results).

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

#1548: v.generalize: strange behaviour on win
---------------------------+------------------------------------------------
  Reporter: pcav | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.2
Component: Vector | Version: 6.4.2 RCs
Resolution: invalid | Keywords: wingrass, v.generalize
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => invalid

Comment:

Replying to [ticket:1548 pcav]:
> Commands like:
>
> v.generalize input=province@Mapset_stefano type=area layer=1 -c
> type=boundary method=douglas threshold=100000 look_ahead=7

type=area ... type=boundary

...no good!

I agree that GRASS should complain but here I suppose that the
latter type "wins" and hence the generalization fails.

I tried with type=area only and it looks good.

Closing as user error, reopen if needed.

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