[Qgis-user] GDALdem, when?
John C. Tull
jctull at gmail.com
Thu Sep 30 16:39:36 PDT 2010
Hi Sergio,
I have not used "DEM relief shader", but there is also the "Shaded Relief" plugin. Additionally, a program called SimpleDEMViewer is available on OS X:
http://www.macupdate.com/info.php/id/20636/simpledemviewer
For using gdaldem from the Terminal.app, here are some sample commands that I use to generate a color hillshade from gtopo dems:
gdaldem hillshade gtopo30.tif -z 10 temp.tif
composite -blend 50 temp.tif temp.tif temp2.tif
gdal_translate -co compress=lzw temp2.tif western_colorshade.tif
rm temp*
This assumes you have a file called 'scale.txt' in the same directory in which you are working. My scale.txt file has the following lines, but you can adjust based on the highest point in your region of interest (heights are in meters here):
3500 255 255 255″
2500 235 220 175″
1500 190 185 135″
700 240 250 150″
0 50 180 50″
-32768 200 230 255″
Regards,
John
On Sep 30, 2010, at 12:27 PM, sergio sevillano wrote:
>
> El 30/09/2010, a las 17:44, Paolo Cavallini escribió:
>
>> Il 30/09/2010 10:04, sergio sevillano ha scritto:
>>> GDALdem is included in GDAL 1.7 framework (OSX)
>>> how can it be used within Qgis?
>>> has GDALTools plans to implement it?
>>> is it already there, and i´ve missed it?
>>
>> Hi Sergio.
>> We have no ad hoc funds for the development of GDALTools, so we implement new
>> features when the opportunity arises, and when a customer asks for this. You're
>> welcome to sponsor further developments; several developers are available for this,
>> if you do not have your own.
>> Thanks for your interest.
>> All the best.
>> --
>
> just asking for info on the subject.
>
> your plugin is super
> thanks for sharing your work
> i would happily contribute with your efforts in a monetary way
> if i can sell a project that needs those features,
> but im just a gis hobbyist for now
> with a little time to spare for testing for example...
>
> in the meantime i have found "DEM relief shader"
> which does the trick for me
> it just covers the hillshading feature
> but leaves out (slope, aspect, [1] ...)
> which may be in the interest of gis pro users
>
> i hope some funder wants to push this
> and he/you agree to share it with the community
>
>
> cheers,
> sergio
>
>
> [1] http://www.gdal.org/gdaldem.html
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list