[Gdal-dev] shaded relief utility
Brent Fraser
bfraser at geoanalytic.com
Mon Dec 12 16:32:44 EST 2005
Paul, Matt,
And it compiled ok on Windows. I justed editted the makefile.vc file to
include hillshade.exe. I haven't actually tried it yet.
Like Paul, I'm actually interested in shading an image file based on a
DEM (if that's what you meant, Paul)
Brent
----- Original Message -----
From: "Paul Surgeon" <surgpub at telkomsa.net>
To: <gdal-dev at lists.maptools.org>
Sent: Monday, December 12, 2005 1:39 PM
Subject: Re: [Gdal-dev] shaded relief utility
> On Monday 12 December 2005 11:15, Matthew Perry wrote:
> > Hey folks,
> >
> > If anyone's interested, I created a GDAL-based utility for creating
> > shaded relief maps from a DEM. This was for a client who was kind
> > enough to let me keep the rights to all of my code ;-) So I'll release
> > it to the public domain in case anyone can find a use for it.
> >
> > Basically it's a simple GDAL/C++ port of the GRASS algorithm from
> > r.shaded.relief. Of course this has the advantage of being able to use
> > any GDAL DEM not just a GRASS map. I've compiled it against gdal
> > 1.3.1 on linux and I'd like to see if anyone else has any luck on
> > different platforms. Of course suggestions and changes are very
> > appreciated as my C++ experience is a bit weak.
>
>
> Hi Matt
>
> Compiled easily enough on my Kubuntu Breezy system with "g++ hillshade.cpp
> -lgdal -o hillshade" and works perfectly.
>
> If you would like to add an easy to learn and manage cross platform build
> environment take a look at scons.
>
> Now I'm just in need of a tool to make color relief maps. Maybe I can hack
> yours. :)
>
> Thanks
> Paul
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
More information about the Gdal-dev
mailing list