Opened 14 years ago

Closed 12 years ago

#1114 closed defect (fixed)

Thematic map layer problem

Reported by: RonL Owned by: grass-dev@…
Priority: normal Milestone: 6.4.4
Component: Database Version: svn-releasebranch64
Keywords: Cc:
CPU: x86-64 Platform: Other Unix

Description

A thematic map that appears normal when the dbf is connected to layer 1 does not work in layer 2. I have....

Vector map <tl_2009_20_county@PERMANENT> is connected by:

layer <1> table <tl_2009_20_county> in database </home/xxx/grassdata/KS_Counties_Lat_Lon/PERMANENT/dbf/> through driver <dbf> with key <cat>
layer <2> table <Test1> in database </home/xxx/grassdata/KS_Counties_Lat_Lon/PERMANENT/dbf/> through driver <dbf> with key <CAT>

Show Attribute Columns and Show Attribute Data produce the expected results in each Layer for Query, but d.vect.thematic fails:

d.vect.thematic -s map=tl_2009_20_county@PERMANENT type=area column=NEWATTR  layer=2 icon=basic/circle size=5  maxsize=20 nint=4 pointcolor=255:0:0  linecolor=0:0:0 startcolor=255:0:0 endcolor=0:0:255  themetype=graduated_colors monitor=none  themecalc=interval colorscheme=blue-red
DBMI-DBF driver error:
Column 'NEWATTR' not found
Error in db_open_select_cursor()

When I reverse the dbf associations (i.e., placing Test1 in layer 1 and changing the layer parameter in d.vect.thematic), the map works.

I am using GRASS6.4.0RC6 on Ubuntu 9.10.

Change History (3)

comment:1 by neteler, 12 years ago

Milestone: 6.4.06.4.4
Version: unspecifiedsvn-releasebranch64

Can you please retry with a current GRASS 6.4 version? In the code of d.vect.thematic the layers seem to be handled (now).

in reply to:  1 comment:2 by mmetz, 12 years ago

Replying to neteler:

Can you please retry with a current GRASS 6.4 version? In the code of d.vect.thematic the layers seem to be handled (now).

Only now. The script called v.univar with column and where, but without layer. Fixed in all branches in r52801-3.

Markus M

comment:3 by neteler, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.