Systeme D

11 January 2006

Vector contours redux

In contrast to the OCR rant here, I now have a very warm fuzzy feeling about two pieces of free software.

As detailed in the post below, this morning, I was trying to get my Mac to turn DEM (digital elevation model) files into vector contours. Just before I gave up, I e-mailed the authors of DEM2TOPO and gdal with a plaintive cry for help.

A few hours later:

Brad Gom, author of DEM2TOPO, has posted a whole new version which fixes the issue I had. Frank Warmerdam, author of gdal, has pointed out to me what I was doing wrong. And both now work perfectly. Thank you both, very much.

Oh yes, and both are superlative pieces of coding which are going to prove enormously useful, not least when coupled with Geo::ShapeFile.

(If it helps anyone else, the docs say that gdal_contour takes the arguments src_filename dst_filename interval. It doesn't. Interval should be specified with the -i switch, not as a third parameter.)

As they say on LiveJournal, current mood: very happy.


Comments

Ahhh, the joys of Open Source and all it's uncorruptiveness.

Now all you need is an Intel processor for your Mac... :-)

Posted by Ben on 12.1.06 10:47

Heh. Not yet, I don't. I've had enough trouble trying to get open source libraries to build on Darwin-PowerPC that I'll wait for a couple of years until everything's been re-ported to Darwin-x86...

Posted by Richard on 12.1.06 21:46


Add a comment

Your name:

E-mail address: 

Comment:

your comment. (E-mail addresses will not be visible, but a server-based mail link will be provided.)