Results 1 to 4 of 4

Thread: how to read dem file of usgs with c?

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2002
    Location
    china
    Posts
    9

    how to read dem file of usgs with c?

    hi,
    I want to get dem file data of usgs to make
    my own format,how can i read dem of usgs with c? thank you
    yang

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: how to read dem file of usgs with c?

    Yes, I am sure there is C code for loading dem files, I have seen it but don't have the link.

    Just do a google search.

    Originally posted by yqs2002:
    hi,
    I want to get dem file data of usgs to make
    my own format,how can i read dem of usgs with c? thank you

  3. #3
    Junior Member Newbie
    Join Date
    Nov 2002
    Location
    china
    Posts
    9

    Re: how to read dem file of usgs with c?

    but I can't find the c code
    yang

  4. #4
    Senior Member Regular Contributor
    Join Date
    Mar 2002
    Posts
    103

    Re: how to read dem file of usgs with c?

    Search for demtopgm. Loading pgm is trivial, or else convert to tga.

Similar Threads

  1. How to read another file again?
    By LovingYou in forum OpenGL: Basic Coding
    Replies: 12
    Last Post: 11-27-2007, 06:47 PM
  2. re-read from the file
    By lara in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 11-26-2002, 11:17 AM
  3. how to read MP3 file?
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 05-13-2002, 08:48 PM
  4. Please help ! read .ase file
    By McZ in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 03-02-2001, 01:13 PM
  5. how to read a file ?
    By McZ in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-05-2001, 12:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean