[GRASS-dev] Re: [GRASS GIS] #898: WinGrass: r.out.xyz error
GRASS GIS
trac at osgeo.org
Sat Jan 30 18:39:51 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 hellik):
Replying to [comment:1 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?
starting point was the wx-gui which didn't work and from which the
original error message comes. then i've tried the command from the wx-gui
in the msys-shell and the same error message comes up.
>
> 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
> }}}
working in the msys-shell
> or quoted:
> {{{
> r.out.xyz --verbose input=elevation at PERMANENT output='C:\wd\mg\elev.xyz'
> }}}
working in the msys-shell
> In most situations, you can use a forward slash instead:
> {{{
> r.out.xyz --verbose input=elevation at PERMANENT output=C:/wd/mg/elev.xyz
> }}}
working in the msys-shell
>
> OTOH, if you're running the command via cmd.exe (Windows' own command
prompt), this would be a bug.
Helmut
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/898#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list