[GRASS-dev] Re: [GRASS GIS] #898: WinGrass: r.out.xyz error

GRASS GIS trac at osgeo.org
Sat Jan 30 18:18:50 EST 2010


#898: WinGrass: r.out.xyz error
------------------------------+---------------------------------------------
  Reporter:  hellik           |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect           |      Status:  new                      
  Priority:  normal           |   Milestone:  6.4.0                    
 Component:  Raster           |     Version:  svn-releasebranch64      
Resolution:                   |    Keywords:  wingrass, raster, path   
  Platform:  MSWindows Vista  |         Cpu:  x86-32                   
------------------------------+---------------------------------------------
Comment (by glynn):

 Replying to [ticket:898 hellik]:
 > self-compild WinGrass r40741 in osgeo4w-stack
 >
 {{{
 r.out.xyz --verbose input=elevation at PERMANENT output=C:\wd\mg\elev.xyz
 }}}

 Are you running this via the MSys shell or via cmd.exe?

 The MSys shell interprets backslashes, so they need to be escaped:
 {{{
 r.out.xyz --verbose input=elevation at PERMANENT output=C:\\wd\\mg\\elev.xyz
 }}}
 or quoted:
 {{{
 r.out.xyz --verbose input=elevation at PERMANENT output='C:\wd\mg\elev.xyz'
 }}}
 In most situations, you can use a forward slash instead:
 {{{
 r.out.xyz --verbose input=elevation at PERMANENT output=C:/wd/mg/elev.xyz
 }}}

 OTOH, if you're running the command via cmd.exe (Windows' own command
 prompt), this would be a bug.

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


More information about the grass-dev mailing list