Dear grasslist
I am working with grass5.0v11beta.
I am importing gtopo file with the command
r.in.bin -s input=E020N90.DEM output=gtopo30 bytes=2 north=90
south=40
east=60
west=20 r=6000 c=4800
It seems to import correctly, but when I explore the dem for
elevation
with the command
d.what.rast it gives correct cordinates but the elevation values
are
just nonsense, although for instance the coastline is correct. I
import
the dem file directly form cd-rom, which I got from US Geological
Survay.
It did work with 5.0v10beta.
What might be the problem.
Best regards
Seppo Kaitala
Seppo Kaitala wrote:
I am working with grass5.0v11beta.
I am importing gtopo file with the command
r.in.bin -s input=E020N90.DEM output=gtopo30 bytes=2 north=90
south=40
east=60
west=20 r=6000 c=4800
It seems to import correctly, but when I explore the dem for
elevation
with the command
d.what.rast it gives correct cordinates but the elevation values
are
just nonsense, although for instance the coastline is correct. I
import
the dem file directly form cd-rom, which I got from US Geological
Survay.
GTOPO30 DEMs are normally in MSB (Motorola) byte-order. If you're
using an LSB (Intel) platform, you need to use the "-b" switch to
byte-swap the data.
--
Glynn Clements <glynn@sensei.co.uk>