[GRASS-dev] Re: [GRASS GIS] #175: v.to.rast labelcol= SegFaults and ignored

GRASS GIS trac at osgeo.org
Mon Feb 23 03:57:40 EST 2009


#175: v.to.rast labelcol= SegFaults and ignored
--------------------------+-------------------------------------------------
  Reporter:  hamish       |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  default      |     Version:  unspecified              
Resolution:               |    Keywords:  v.to.rast                
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Comment (by mmetz):

 Replying to [ticket:175 hamish]:
 > Hi,
 >
 > v.to.rast segfaults with the labelcolumn= option:

 {{{
 #spearfish
 G64> g.region -d
 G64> v.to.rast in=fields out=fields.v2r labelcol=label col=cat
 WARNING: Area without centroid (may be OK for island)
 WARNING: Area without centroid (may be OK for island)
 Converted areas: 65 of 65
 Converted points/lines: 0 of 0
 Segmentation fault
 }}}

 I get the segfault too with the above command, but not with

 {{{
 v.to.rast in=fields out=fields.v2r labelcol=label use=cat
 }}}

 The labels of fields.v2r are wrong, they read like

 1:Category 1

 Category 0 is now skipped ???

 Altogether strange behaviour of v.to.rast...

 I used devbr6

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/175#comment:6>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list