comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: DEM GTOPO30
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: DEM GTOPO30 [message #71145 is a reply to message #71144] Tue, 01 June 2010 07:37 Go to previous messageGo to previous message
jeanh is currently offline  jeanh
Messages: 79
Registered: November 2009
Member
On 01/06/2010 9:56 AM, nata wrote:
> Dear All,
>
> I'm trying to read some digital elevation models (GTOPO30) from
> http://eros.usgs.gov/#/Find_Data/Products_and_Data_Available /gtopo30_info.
>
> I was wondering if anyone have any IDL routines for working with the
> vector and raster data formats...
>
> Thanks a lot !
>
> nata

Hi,

a few years ago, the simplest way was to convert the dem to xyz
triplets, then to read this into IDL. (I just had to load the files
once, it might be different if you want to interactively select the
files etc).

I was using the tool from http://data.geocomm.com/dem/dem2xyzn/ (the 2nd
one, NOT sdts2dem.exe).

In IDL, I wrote a program to convert the DEM filenames to DOS compatible
names (required by the tool). Then I wrote another program to create the
command for the tool (input, output and write random character to answer
the question "press any key to continue"), in a loop (for every DEM
input) and spawn dem2xyzn.exe with the command ( spawn, 'dem2xyzn <
dem2xyz_command.txt' )

Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Contour data with two different lon/lat grids onto the same map projection
Next Topic: Re: Help overplotting contours and surface

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 20:09:57 PDT 2025

Total time taken to generate the page: 0.88027 seconds