On building sea ferries

“It’s exactly the same thing as the Internet, but we’re moving butts and boxes instead of bits.”

Timothy Dick, chairman of Hawaii Superferry Inc

USGS Mapping Software: DLGV32

A few years ago, after I bought my GPS, I got into map making and map software. There’s a lot of data available for free from the USGS. They don’t make it easy to find, but it’s out there if you look hard enough.

One of the free viewers of USGS data that was available when I was doing this years ago was DLGV32. DLGV32 was originally written by a USGS employee in the mid-90s. This employee then left the USGS and started selling DLGV32 “Pro” himself. You can find his commercial version of the program online for $219 at GlobalMapper.com.

Since I was last making maps, something must have happened with DLGV32. The “Pro” version is now available from the USGS (link above), along with the source code. I’ve since become interested in mapping again so I thought I’d try out the source code.

Impressions of the source code:

  • The DLGV32Pro source is dated March 2005 but is built using MSVC++ 6. ???
  • Here’s something I’ve never seen before: debug symbols were explicitly turned off on key files. It took me a while to figure this out.
  • The shipping source available on their website won’t compile, it contains trivial typos that prevent it from compiling.

It’s as if they want to discourage you from compiling and exploring the source code. Hmm.. could that be because there’s a former USGS employee trying to sell a commercial version of the same program??

Footnotes:

There are libraries available to parse USGS map data, like data in the STDS format. One of these is the stds++ library but it’s built to compile on the MSVC++ 6 version of STL, which is a mess. I don’t feel like bringing it up to VS.NET2003.

The USGS Seamless Data Distribution website is a good place to get vector data, like roads, railroads in DLG and SDTS formats.

MapMart.com has 7.5 minute super high resolution elevation maps available in SDTS format.

The EROS Data Center keeps on their ftp site 1:250,000 scale digital elevation map (DEM) files. 7.5 Minute data is also available, but I can’t find a user-friendly index so you have to guess from the file names. DEM is by far the easiest file format to deal with. I’ve managed to figure out the format myself, but I’m still looking for a good tutorial on how you’re officially supposed to deal with the file format. The official specification is amazing verbose while still lacking the essentials necessary to get started parsing the format. A grammar would be a nice start.

Dance Dance Diet

I think this is the second time I’ve blogged about this, but it’s back in the news again: Dance Dance Revolution as a weight loss program for kids.

I used to be all about DDR, but I can’t play it anymore. DDR and snowboarding were major contributors to the downfall of my knees. I’m not sure it’s wise to recommend repetitive impact activities like this as part of any exercise program, let alone for weight loss.

Maybe on the lower levels where you’re just walking around the pad DDR is OK, but when you get better DDR becomes a double-time, high impact step aerobics routine nightmare. It’s a lot of fun, but it’s also a lot of jumping and landing at odd angles. If you’re already overweight the impact would just become worse I would think.

I’ve met two other people that also blame DDR for screwing up their knees, especially the arcade version, where you play on a hard surface with shoes on. It’s even worse for your knees than the home version.

Long live Stepmania.