Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


using USGS data

This topic is 5620 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, all! I was wondering if anyone has a demo (w/source) of a program they have made for using any type of realworld USGS data in a C++\Windows\OpenGL framework. There isnt squat on the web. Or at least the stuff like sdts++, demeter, etc. are overkill and require a lot of other installations for them to even compile (plib,zlib,sdl, etc.). Too many cooks in the kitchen for my tasete if you know what I mean. It cant be as painful as that can it? But since resources on the web are all but non-existent, maybe it is. I see a lot of links that work with generic heightfeilds(images) as terrain and have worked through and have a reasonably solid grasp of them, but I never see anyone doing any work with real world data sets(SDTS, DEM, SRTM, etc). Any help or source code would be greatly appreciated. Thanks in Advance! J

Share this post

Link to post
Share on other sites
I''m getting ready to work with the same type of thing. I got an elevation flatfile from the GLOBE project to work with, now getting ready to try and figure out how to go from that to a terrain mesh. Good luckto you, and i''ll be sure to let you know if i figure out how to do it.

Share this post

Link to post
Share on other sites

the USGS DEM (just ASCII) format isn''t anything special, neither is the new BIL (horrible simply binary layout) for USGS Seamless Data (seamless.usgs.gov), so you can just write your own simple loaders and leave out the features you don''t need.

Alternatively, have a look at the VTP Software (www.vterrain.org -> VTP Software) and use that to convert different elevation grid formats to bitmap data.
Another option is gdal, relatively easy to use (www.remotesensing.org/gdal),
C/C++ library, Python wrapper, supports a huge amount of formats and also features a commandline tool.

Hope that helps a little bit.



Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!