Opened 11 years ago

Closed 11 years ago

#1548 closed defect (invalid)

v.generalize: strange behaviour on win

Reported by: pcav Owned by: grass-dev@…
Priority: normal Milestone: 6.4.2
Component: Vector Version: 6.4.2 RCs
Keywords: wingrass, v.generalize Cc:
CPU: Unspecified Platform: MSWindows XP

Description

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.

Change History (4)

comment:1 by hamish, 11 years ago

Keywords: wingrass v.generalize added

comment:2 by hamish, 11 years ago

Component: DefaultVector

comment:3 by pcav, 11 years ago

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

in reply to:  description comment:4 by neteler, 11 years ago

Resolution: invalid
Status: newclosed

Replying to 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.

Note: See TracTickets for help on using tickets.