[GRASS-user] r.out.xyz: Output error

Hi Folks

Getting a problem with output in Grass 7.0.svn on Windows Vista SP2.

Here’s the dump:

(Sat Mar 30 17:34:34 2013)

r.out.xyz input=elev_ned_30m@PERMANENT output=D:_SDB\GIS_DataBase\Grass_Demo\Demo_locations\nc_spm_08\PERMANENT\elev_ned_30m_xyz2

‘output’ is not recognized as an internal or external command, operable program or batch file.

(Sat Mar 30 17:34:35 2013) Command finished (0 sec)

Managed to get the same command to work in Grass 6.4.2.

I believe this is a ‘basic’ feature that is unlikely to have been changed.

Has it not been implemented yet, or should I be sticking with 6.4.2?

Thanks

Stephen

On Sat, Mar 30, 2013 at 6:41 PM, Stephen Brearley
<mail@stephenbrearley.name> wrote:
...

  r.out.xyz input=elev_ned_30m@PERMANENT
output=D:\_SDB\GIS_DataBase\Grass\_Demo\Demo_locations\nc_spm_08\PERMANENT\elev_ned_30m_xyz2

  'output' is not recognized as an internal or external command, operable
program or batch file.

To me it looks as if there is a linebreak before the
output parameter. How do you call r.out.xyz - in a
scripts?

I believe this is a ‘basic’ feature that is unlikely to have been changed.

Right, the output parameter is the same
http://grass.osgeo.org/grass70/manuals/r.out.xyz.html

Changed parameters are listed here:
http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Rastermodulechanges

Has it not been implemented yet, or should I be sticking with 6.4.2?

Please let us know how you execute above command.
Apparently not from the GUI.

Markus

Marcus

See what you mean. No, the breaks are just the way I copied it from the
Command Console, as you can tell from the split of 'PERMA' and 'NENT'.
Should be (approx same as in your book):

r.out.xyz input=elev_ned_30m@PERMANENT >
output=D:\_SDB\GIS_DataBase\Grass\_Demo\Demo_locations\nc_spm_08\PERMANENT\e
lev_ned_30m_xyz2
'output' is not recognized as an internal or external command, operable
program or batch file.

  Stephen
-----Original Message-----
From: neteler.osgeo@gmail.com [mailto:neteler.osgeo@gmail.com] On Behalf Of
Markus Neteler
Sent: 30 March 2013 18:09
To: Stephen Brearley
Cc: GRASS user list
Subject: Re: [GRASS-user] r.out.xyz: Output error

On Sat, Mar 30, 2013 at 6:41 PM, Stephen Brearley
<mail@stephenbrearley.name> wrote:
...

  r.out.xyz input=elev_ned_30m@PERMANENT
output=D:\_SDB\GIS_DataBase\Grass\_Demo\Demo_locations\nc_spm_08\PERMA
NENT\elev_ned_30m_xyz2

  'output' is not recognized as an internal or external command,
operable program or batch file.

To me it looks as if there is a linebreak before the output parameter. How
do you call r.out.xyz - in a scripts?

I believe this is a 'basic' feature that is unlikely to have been changed.

Right, the output parameter is the same
http://grass.osgeo.org/grass70/manuals/r.out.xyz.html

Changed parameters are listed here:
http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Rastermodulechanges

Has it not been implemented yet, or should I be sticking with 6.4.2?

Please let us know how you execute above command.
Apparently not from the GUI.

Markus

  'output' is not recognized as an internal or external command, operable
program or batch file.

To me it looks as if there is a linebreak before the
output parameter. How do you call r.out.xyz - in a
scripts?

tested with

GRASS version: 7.0.svn
GRASS SVN Revision: 55573
Build Date: 2013-02-30
GIS Library Revision: 52468 (2012-07-27)
GDAL/OGR: 1.9.2
PROJ.4: 4.8.0
GEOS: 3.3.6dev
SQLite: 3.7.10
Python: 2.7.2
wxPython: 2.8.12.1
Platform: Windows-Vista-6.0.6002-SP2 (OSGeo4W)

g.gisenv set=DEBUG=3

r.out.xyz --verbose input=elevation@PERMANENT output=J:\wd\routxyz\test1.txt
D2/3: filename =
C:\OSGeo4W\apps\grass\grass-7.0.svn\scripts\r.out.xyz.py
D2/3: G_file_name(): path = J:\gisdata/nc_spm_08/g7

  'output' is not recognized as an internal or external command, operable
program or batch file.

path issue?

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/r-out-xyz-Output-error-tp5043808p5043819.html
Sent from the Grass - Users mailing list archive at Nabble.com.

r.out.xyz --verbose input=elevation@PERMANENT output=J:\wd\routxyz\test1.txt
D2/3: filename =
C:\OSGeo4W\apps\grass\grass-7.0.svn\scripts\r.out.xyz.py
D2/3: G_file_name(): path = J:\gisdata/nc_spm_08/g7

'output' is not recognized as an internal or external command, operable
program or batch file.

but very interesting...if the separator is given manually instead the
default one, r.out.xyz works:

r.out.xyz input=elevation@PERMANENT output=J:\wd\routxyz\test2.csv
separator=,
(Sat Mar 30 22:26:32 2013) Command finished (3 sec)

r.out.xyz input=elevation@PERMANENT output=J:\wd\routxyz\test3.csv
separator=;
(Sat Mar 30 22:28:00 2013) Command finished (2 sec)

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/r-out-xyz-Output-error-tp5043808p5043820.html
Sent from the Grass - Users mailing list archive at Nabble.com.

if the separator is given manually instead the default one, r.out.xyz works:

it seems given Default: | breaks the script, because also manually given |
stopps the script...

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/r-out-xyz-Output-error-tp5043808p5043821.html
Sent from the Grass - Users mailing list archive at Nabble.com.