[GRASSLIST:2181] Importing a USGS ASCII DEM

Hi,

I've imported a USGS ASCII DEM using r.in.gdal, but when I use d.rast
to display it, it is all red. I've tried changing the color table,
but to no avail. Using d.what.rast show different values at different
places, so I'm not sure why they won't show up in different colors.
This particular dem file has extension ".dem". I have successfully
imported another USGS ASCII DEM which has extension ".cdo". Not sure
what the difference is...gdalinfo shows them both to be DEMs.

Here's the data in question:
ftp://gisweb1.radford.edu/dem/county_dem/carroll_dem.zip

Any ideas?

Thanks,
Ben

--
Ben Logan
Google Answers Researcher
answers.google.com
When you're searching for information, Google Answers.

OpenPGP Key ID: A1ADD1F0
Fingerprint: E32C 1CF9 C2FE DFC9 BB5C A24F 57DB 5679 A1AD D1F0
Get it from http://cyclist.wblogan.net/benlogan.gpg

Ben Logan wrote:

I've imported a USGS ASCII DEM using r.in.gdal, but when I use d.rast
to display it, it is all red. I've tried changing the color table,
but to no avail. Using d.what.rast show different values at different
places, so I'm not sure why they won't show up in different colors.

Check the range (r.info) of the data, and optionally the distribution
(e.g. with d.histogram).

A common problem when importing DEMs is that a specific (and usually
extreme) value is often used to represent NULLs. If these aren't
converted, the result is that the colour table gets stretched over an
extreme range, with the "real" data lying in a narrow band (relative
to the overall range).

If this has happened, you can translate the substitute NULL values to
actual NULLs with r.null.

--
Glynn Clements <glynn.clements@virgin.net>