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

#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@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.

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

#1114: Thematic map layer problem
----------------------+-----------------------------------------------------
Reporter: RonL | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: Database | Version: svn-releasebranch64
Keywords: | Platform: Other Unix
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Changes (by neteler):

  * version: unspecified => svn-releasebranch64
  * milestone: 6.4.0 => 6.4.4

Comment:

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).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1114#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1114: Thematic map layer problem
----------------------+-----------------------------------------------------
Reporter: RonL | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: Database | Version: svn-releasebranch64
Keywords: | Platform: Other Unix
      Cpu: x86-64 |
----------------------+-----------------------------------------------------

Comment(by mmetz):

Replying to [comment:1 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1114#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1114: Thematic map layer problem
-------------------------+--------------------------------------------------
  Reporter: RonL | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.4
Component: Database | Version: svn-releasebranch64
Resolution: fixed | Keywords:
  Platform: Other Unix | Cpu: x86-64
-------------------------+--------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1114#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>