[GRASS-dev] Re: [GRASS GIS] #929: g.transform: dump coeffs and transform sparse points

GRASS GIS trac at osgeo.org
Sat Feb 13 20:57:16 EST 2010


#929: g.transform: dump coeffs and transform sparse points
--------------------------+-------------------------------------------------
  Reporter:  hamish       |       Owner:  grass-dev at lists.osgeo.org
      Type:  enhancement  |      Status:  new                      
  Priority:  normal       |   Milestone:  7.0.0                    
 Component:  Imagery      |     Version:  svn-trunk                
Resolution:               |    Keywords:  g.transform              
  Platform:  All          |         Cpu:  All                      
--------------------------+-------------------------------------------------
Comment (by glynn):

 Replying to [ticket:929 hamish]:

 > I'm not decided what to do about reading from stdin. I suspect I'll have
 to drop the east_north=x1,y1,x2,y2,xn,yn,... option in favor of an input
 file containing points to be transformed because the parser insists on two
 values, and "-,-" if given is read as -0,-0. Well, I guess I could have
 strcmp() test for "-,-" but it's a bit silly.
 > I'd rather not add another flag to direct the input.
 > any ideas?

 Don't try and make one option do different things; use a separate option
 for reading from a file (use file=- for stdin rather than a flag).

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


More information about the grass-dev mailing list