[GRASS5] Updated d.vect.thematic

Moritz Lennert mlennert at club.worldonline.be
Mon May 23 13:27:10 EDT 2005


On Mon, May 23, 2005 19:07, Michael Barton said:
> OK,
>
> I¹ve managed to add the option to save as a GIS Manager group (Thanks go  to
> Daniel for helping with parsing rgb into hex). I think this deals with most
> of the suggestions and updates that everyone made. Thanks to you all.

I get the following error when trying to load the group file (I've attached
the group file for info). Seems that the color codes are not completely
correct:


invalid color name "# 0 0FA"
invalid color name "# 0 0FA"
    (processing "-fill" option)
    invoked from within
"$leg create rectangle $x1 $y1 $x2 $y2 -outline $opt($id,color)  -fill
$opt($id,fcolor)"
    (procedure "DmVector::legend" line 41)
    invoked from within
"DmVector::legend $id"
    (procedure "DmVector::set_option" line 7)
    invoked from within
"DmVector::set_option $current_node $key $val"
    ("vector" arm line 2)
    invoked from within
"switch $type {
			    group {
				DmGroup::set_option $current_node $key $val
			    }
			    raster {
				DmRaster::set_option $current_node $key $..."
    ("default" arm line 8)
    invoked from within
"switch $key {
		    Group {

			if { [regexp -- {^File (.+)} $val r leftover]  && ($leftover !=
			$::Dm::filename)} {
			    	set val "<-- $leftover"..."
    (procedure "Dm::load" line 46)
    invoked from within
"Dm::load $::Dm::filename_new"
    (procedure "Dm::OpenFileBox" line 20)
    invoked from within
"Dm::OpenFileBox .mainframe.topf.tb1"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 $cmd"
    (procedure "Button::_release" line 18)
    invoked from within
"Button::_release .mainframe.topf.tb1.bbox2.b1"
    (command bound to event)





-------------- next part --------------
A non-text attachment was scrubbed...
Name: comcods.dm
Type: application/octet-stream
Size: 2530 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20050523/40bc52d8/comcods.obj


More information about the grass-dev mailing list