[GRASS-dev] [GRASS GIS] #2475: g.findfile type/element support not clear

GRASS GIS trac at osgeo.org
Thu Nov 6 00:17:42 PST 2014

#2475: g.findfile type/element support not clear
 Reporter:  wenzeslaus                                                                |       Owner:  grass-dev@…              
     Type:  defect                                                                    |      Status:  new                      
 Priority:  normal                                                                    |   Milestone:  7.0.0                    
Component:  Default                                                                   |     Version:  unspecified              
 Keywords:  g.findfile, find_file, types, elements, cell, fcell, dcell, rast, rast3d  |    Platform:  Unspecified              
      Cpu:  Unspecified                                                               |  

Comment(by glynn):

 Replying to [ticket:2475 wenzeslaus]:

 > What is the right behavior? It seems that there is a difference between
 element and type, is this true? What is appropriate for `g.findfile`? What
 would be the value for `file` key if `g.findfile` would support
 `type=rast` etc. instead of `element=cell|fcell|dcell`? What about 3D

 The argument to element= should be the name of an actual element (e.g.
 cell), not the alias (e.g. rast).

 But -l probably shouldn't be listing the aliases. I'm not sure the -l flag
 should even exist.

Ticket URL: <http://trac.osgeo.org/grass/ticket/2475#comment:1>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list