[GRASS-dev] Re: [GRASS GIS] #544: v.info lacks -g switch

GRASS GIS trac at osgeo.org
Wed Apr 1 22:12:57 EDT 2009


#544: v.info lacks -g switch
----------------------+-----------------------------------------------------
  Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  Vector   |     Version:  svn-develbranch6         
Resolution:           |    Keywords:                           
  Platform:  All      |         Cpu:  All                      
----------------------+-----------------------------------------------------
Comment (by hamish):

 I'm rather confused by this bug report. v.info already has a -g flag
 which reports the geographic extent in shell script style.

 Other shell script style flags have been added as well, indeed Markus has
 already used the -t flag to solve the l10n error* reported in the original
 post.

 [*] is the real error that reports should not be translated? ISTR
 that we had decided not to translate r.info et al.'s reports.
 (Personally I don't have too strong an opinion about that)

 Shell scripts which use awk all unset the locale to ensure that
 decimal places are "." not ","s and can provide a template if
 needed if scripts are parsing module report output which do not
 have a shell script flag equivalent.


 So what specifically is this bug report actually asking for? A switch that
 dumps or converts all output in shell script format? ISTR that was tried
 for g.region and in practice was/is a complete mess + PITA that we (IMO)
 shouldn't repeat. Compare that to r.info which has lots of flags for
 specific shell script formatted params, and seems to work well for all our
 shell script needs.

 I suggest closing this bug as "redundant".


 Hamish

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


More information about the grass-dev mailing list