[GRASS-dev] Re: [GRASS GIS] #326: g.findfile element=colr2

GRASS GIS trac at osgeo.org
Fri Oct 10 03:39:36 EDT 2008


#326: g.findfile element=colr2
--------------------------+-------------------------------------------------
  Reporter:  martinl      |       Owner:  grass-dev at lists.osgeo.org
      Type:  enhancement  |      Status:  closed                   
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  default      |     Version:  svn-develbranch6         
Resolution:  invalid      |    Keywords:  colr2, color table       
  Platform:  All          |         Cpu:  All                      
--------------------------+-------------------------------------------------
Changes (by martinl):

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

Comment:

 Replying to [comment:1 glynn]:
 {{{
 $ eval `g.findfile element=cell file=elevation.dem`
 $ eval `g.findfile element=colr2/$mapset file=elevation.dem`
 $ echo "$file"
 /opt/grass-data/spearfish57/glynn/colr2/PERMANENT/elevation.dem
 }}}

 Ops, I have overlooked this possibility... Thanks for pointing it out.

 > BTW, why would you be using g.findfile to locate colour tables in the
 first place?
 > You shouldn't normally need to know whether a map gets its colour table
 from colr, colr2, or uses the default rainbow table.

 It's used in wxGUI colorrules.py module for "replace current color table"
 check.

 Martin

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/326#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list