[GRASS-user] problem with grass 6.4.0

Sylvain Maillard sylvain.maillard at gmail.com
Thu Jul 12 00:29:28 PDT 2012


Hi,

I copy/paste your sample data in your email and what I see is the following
structure. I'm snot sure if it is the original structure or if it as been
modified byt various email software...

   -7.830    43.050     0.000

- 3 white space
- your X data
- 4 white space
- your Y data
- 5 white space
- your Z data


> Reading data ...
> ERROR: Bad y-coordinate line 1 column 2. <>
>
> the file I am trying to read from has the following structure
>
>    -7.830    43.050     0.000
>    -6.930    42.470     0.000
>    -8.530    42.280     0.000
>    -7.640    41.710     0.000
>    -7.790    43.050     0.000
>    -6.900    42.470     0.000
>
> and if I run the same r.in.xyz command in the old server I can import the
> file correctly.
>
> I don't know why grass 6.3.0 was able to read it and not grass 6.4.1, but
the error message seems to say that the script found only blanck columns ...

You can try to sanitize your file, ie not initial space and only 1 space
between each column, and tray again to import your file ;)
I already get some cases like that on "tabulated" ascii files from ArcGis
and always needed to sanitise them first !


cheers,
Sylvain
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120712/a0514bef/attachment.html>


More information about the grass-user mailing list