[GRASS5] [bug #4036] (grass) d.vect.thematic: green-blue, custom_gradient, single_color color schemes yield erros

Request Tracker grass-bugs at intevation.de
Tue Jan 24 07:05:45 EST 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4036
-------------------------------------------------------------------------

Subject: d.vect.thematic: green-blue, custom_gradient, single_color color schemes yield erros

Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: cvs 2005.01.10

Example below, using colorscheme=green-blue. "expr: argument nieliczbowy" means "expr: the argument is not a number"



d.vect.thematic map=rogow_parcels_01 type=area column=CODE themetype=graduated_colors themecalc=interval layer=1 icon=basic/circle size=5 maxsize=20 nint=4 colorscheme=green-blue pointcolor=255:128:1 linecolor=255:128:1 startcolor=255:128:255 endcolor=255:255:255 monitor=x1 


**************************************************




Thematic map legend for column CODE of map rogow_parcels_01

Value range:  1.000000 -  666.000000
expr: argument nieliczbowy
expr: argument nieliczbowy
expr: argument nieliczbowy
Mapped by 4 intervals of 166.25

Color(R:G:B)	Value
============	==========
::		1 - 167.25 

GRASS_INFO_ERROR(29441,1): Unknown color: [::]
0:0:0		167.25 - 333.5 
0:0:0		333.5 - 499.75 
/usr/local/grass-6.1.cvs/scripts/d.vect.thematic: line 741: let: color1=: syntax error: operand expected (error token is "=")
/usr/local/grass-6.1.cvs/scripts/d.vect.thematic: line 742: let: color2=: syntax error: operand expected (error token is "=")
/usr/local/grass-6.1.cvs/scripts/d.vect.thematic: line 743: let: color3=: syntax error: operand expected (error token is "=")
0:0:0		499.75 - 666.000000


All the other colorschemes, excluding custom_gradient and single_color, work fine...

Maciek

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list