PDA

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



yqs2002
11-13-2002, 11:09 PM
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, 04: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, 05:20 PM
but I can't find the c code

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