[GRASS-dev] [GRASS GIS] #1114: Thematic map layer problem

GRASS GIS trac at osgeo.org
Wed Jul 21 00:08:51 EDT 2010


#1114: Thematic map layer problem
----------------------+-----------------------------------------------------
 Reporter:  RonL      |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  normal    |   Milestone:  6.4.0                    
Component:  Database  |     Version:  unspecified              
 Keywords:            |    Platform:  Other Unix               
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------
 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 at 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 at 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.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1114>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list