[GRASS-dev] Re: [GRASS GIS] #175: v.to.rast labelcol= SegFault
GRASS GIS
trac at osgeo.org
Tue Jun 17 07:14:39 EDT 2008
#175: v.to.rast labelcol= SegFault
----------------------+-----------------------------------------------------
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
----------------------+-----------------------------------------------------
Changes (by martinl):
* cc: martinl (added)
Comment:
Replying to [ticket:175 hamish]:
> 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
> }}}
strange, I cannot reproduce segfault on my machine (GNU/Debian Unstable,
32bit, G64)
{{{
v.to.rast in=fields out=fields.v2r labelcol=label col=cat --o
r.category fields.v2r | head
1 "C. Smith #1"
2 C. Smith#2
3 P. Biggam#1
4 P. Biggam#2
5 P. Biggam#3
6 P. Biggam#5
7 P. Biggam#6
8 P. Biggam#7
9 G. Tandy#1
10 C. Mitchell#1
}}}
{{{
v.to.rast in=fields out=fields.v2r labelcol=label use=cat --o
r.category fields.v2r | head
1 Category 1
2 Category 2
3 Category 3
4 Category 4
5 Category 5
6 Category 6
7 Category 7
8 Category 8
9 Category 9
10 Category 10
}}}
Martin
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/175#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list