[GRASSLIST:3988] Re: How to import SDTS DEM into GRASS?

Eric G. Miller egm2 at jps.net
Fri Jun 28 21:45:19 EDT 2002


On Fri, Jun 28, 2002 at 06:26:55PM -0400, Steve Kimball wrote:
> 
> There seems to be two ways to import USGS SDTS DEM data in to GRASS:
> 
> 1) Detailed on the FAQ
>     
> http://www.geog.uni-hannover.de/grass/faq/importing_usgs_7_5min.html
>   This uses a stds2arc utility to convert to ascii and then uses
> r.in.ascii
>   The stds2arc utility reads in all the DDF files for a 7.5min DEM,
> which is nice.
>   The it creates a single xxx.grd file.
> 
> 2) Use r.in.gdal command on the *.ddf files.
>    There are several DDF files, so is r.in.gdal run multiple times?
>    Do you still still need to run r.in.ascii as the above FAQ suggests?

With SDTS, give r.in.gdal the CATD file (it's a catalog...).  Only need
to run once per input data set:

GRASS> r.in.gdal BD01CATD.DDF output=agua_dulce

> Which approach is easier?

r.in.gdal as long as your installation is working ;-)

Note: You can interrogate pretty much any SDTS file with m.sdts.read.
It's useful for reading/dumping the metadata (data quality, etc...).

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-user mailing list