problem importing 1 degree DEMs

Rick Thompson rick at cast.uark.edu
Mon Dec 4 07:00:00 EST 1995


Hi Ashton,
  I was able to import a Spearfish example using the following after setting
the region like you did:

dd if=rapid_city-w ibs=4096 | m.dmaUSGSread top=1 bottom=1201 left=1 right=1201
 output=spear250.dem logfile=spear250.logfile
 
m.rot90 input=spear250.dem output=spear250.dem.rot rows=1201 cols=1201 bpc=2
 
r.in.ll input=spear250.dem.rot output=spear250.dem dimension=1201,1201 bpc=2 re
s
=3,3 corner=sw,44N,104W spheroid=clark66
 
Good luck! Rick

On Sun, 3 Dec 1995, Ashton Shortridge wrote:

> I am trying to import DEM data (which I obtained by downloading via ftp from
> the EROS geodata center site) into GRASS 4.1. 
> 
> The result of the following chain of commands was a GRASS raster file with th
e
> proper dimensions but with no elevation data, according to r.report.
> 
> The steps I used to import this are as follows:
> 1. ran m.dmaUSGSread (within the UNIX command dd). I used ibs= 4096
> 2. ran m.rot90
> 3. ran r.in.ll with bpc set to 2, the appropriate corner coords, and as eithe
r
> signed or unsigned.
> 
> My region appears to be set to the same dimensions as the 1 degree DEM I am
> trying to import. My region is defined as UTM in the proper zone. If you see
> what my problem is, or what questions I need to ask myself, I would be
> eternally grateful!
------------------------------------------------------------------------
Rick Thompson-   Research Specialist          E-mail: rick at cast.uark.edu
Center for Advanced Spatial Technologies      Telephone: (501) 575-8498
Ozark Hall Rm. 12                             Fax: (501) 575-5218
University of Arkansas              
Fayetteville, AR 72701
DISCLAIMER: Any opinions or comments about any product, organization,
            or individual expressed in the above text are my own.





More information about the grass-user mailing list