[GRASS-dev] [GRASS GIS] #1479: error running v.generalize under Windows/Osgeo4w

GRASS GIS trac at osgeo.org
Mon Oct 24 14:36:16 EDT 2011


#1479: error running v.generalize under Windows/Osgeo4w
-------------------------+--------------------------------------------------
 Reporter:  lutra        |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:                           
Component:  Vector       |     Version:  svn-trunk                
 Keywords:               |    Platform:  MSWindows 7              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 I see the same "pattern" as in #1477

 Using the Wxpython interface it works.

 Using the QGIS/GRASS interface it doesn't, but using the QGIS/GRASS
 interface under Linux works fine.

 The command produced by the QGIS/GRASS interface is


 {{{
 v.generalize input=freguesias at mapset_agueda type=area layer=1 -c
 type=boundary method=douglas threshold=200 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 ite
 rations=1 layer=1 output=gene_qgisgrass
 }}}


 but the same command under Linux works fine


 {{{
 v.generalize input=provincias at mapset_agueda type=area layer=1 -c
 type=boundary method=douglas threshold=200 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 layer=1
 output=gene_qgisgrasslinux
 }}}


 while removing the "layer=1" parameters works also under Window/QGIS/GRASS
 CLI

 {{{
 v.generalize input=freguesias at mapset_agueda type=area -c type=boundary
 method=douglas threshold=200 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 ite
 rations=1 output=gene_qgisgrass
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1479>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list