[GRASSLIST:8349] Re: Importing dem

Hamish hamish_nospam at yahoo.com
Tue Sep 20 00:16:56 EDT 2005


> I'm having a problem with importing dem files. I'm using linux and
> Grass 6.0.1 I can view the raw files fine in QGIS but no matter how I
> try, I just get a blank screen after importing into grass. I'm using
> the standard sytax of "r.in.gdal in=file.dem out=file_dem" then I
> color it with "r.colors file_dem color=grey" when I run "d.rast
> file_dem" (with a open d.mon of course) It runs to 100%, and I see
> nothing. None of the commands show an error, I've tried to run it with
> the region set to the drg I'm using and everything. I've had it work
> before using the same steps but for some reason it doesn't now. 
> 
> Any thoughts?

well after setting the region to the extents of the raster (eg r.info)
with:

g.region rast=file_dem


try r.univar to see if there is anything actually there.
Try adding a legend with d.legend too which might give a clue.


Hamish




More information about the grass-user mailing list