PDA

View Full Version : how to read dem file of usgs with c?



yqs2002
11-14-2002, 12:09 AM
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

nexusone
11-14-2002, 05:19 AM
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

yqs2002
11-14-2002, 06:20 PM
but I can't find the c code

gumby
11-14-2002, 06:54 PM
Search for demtopgm. Loading pgm is trivial, or else convert to tga.