id summary reporter owner description type status priority milestone component version resolution keywords cc cpu platform 175 v.to.rast labelcol= SegFaults and ignored hamish grass-dev@… "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 }}} gdb: {{{ #0 0xb791ef43 in strcpy () from /lib/tls/i686/cmov/libc.so.6 #1 0xb7f91793 in set_string (x=0xbf81d978, s=0x808c450 ""\""NO DATA\"""", copy=1) at string.c:108 #2 0xb7f91681 in db_set_string (x=0xbf81d978, s=0x808c450 ""\""NO DATA\"""") at string.c:39 #3 0xb7f91a1c in db_copy_string (dst=0xbf81d978, src=0x808c3a0) at string.c:237 #4 0xb7f9276c in db_copy_value (dst=0xbf81d968, src=0x808c390) at value.c:372 #5 0xb7efba1b in db_select_value (driver=0x808b2a0, tab=0x808af08 ""fields"", key=0x808af18 ""cat"", id=0, col=0x8057d88 ""label"", val=0xbf81d968) at select.c:195 #6 0x0804c571 in update_labels (rast_name=0x8057d78 ""fields.v2r"", vector_map=0x8057d68 ""fields"", field=1, label_column=0x8057d88 ""label"", use=1, val=1, attr_column=0x8057d98 ""cat"") at support.c:298 #7 0x0804d369 in vect_to_rast (vector_map=0x8057d68 ""fields"", raster_map=0x8057d78 ""fields.v2r"", field=1, column=0x8057d98 ""cat"", nrows=4096, use=1, value=1, value_type=1, rgbcolumn=0x0, labelcolumn=0x8057d88 ""label"", ftype=67) at vect2rast.c:212 #8 0x0804b1f7 in main (argc=7627107, argv=0xb79e2510) at main.c:135 }}} Also when trying to use the vector cat for the raster cat the labelcolumn is ignored: {{{ G64> v.to.rast in=fields out=fields.v2r labelcol=label use=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 [success] G64> r.category fields.v2r 1 Category 1 2 Category 2 3 Category 3 4 Category 4 5 Category 5 6 Category 6 7 Category 7 ... }}} ie the labelcolumn= is replaced by ""Category n"" {{{ G64> v.db.select fields | head cat|label 0|""NO DATA"" 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 }}} ? thanks, Hamish " defect closed normal 6.4.3 Vector unspecified fixed v.to.rast martinl Unspecified Unspecified