<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: GDAL-based DEM utilities</title>
	<link>http://www.perrygeo.net/wordpress/?p=7</link>
	<description>Matt Perry's random adventures with geospatial technology and other tangentially related topics</description>
	<pubDate>Mon, 06 Sep 2010 18:04:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Paolo V.</title>
		<link>http://www.perrygeo.net/wordpress/?p=7#comment-47997</link>
		<dc:creator>Paolo V.</dc:creator>
		<pubDate>Wed, 02 Jun 2010 23:31:55 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=7#comment-47997</guid>
		<description>This little and powerful toolset saved my day!
FWTools do not have gdaltodem , and they are not updated either.
Compiling Gdal on my system is not possible: process is failing after some time.
I was looking for a linux batch mode for creating a raster image of a dem file, and here I found the solution. 
THANKS!

I suggest TIFF Tools for linux, and ImageMagick, plus the pnm tools for conversions.

slope src.tif dst.tif
tifftopnm dst.tif &#62;dst.pnm
pnmtojpeg dst.pnm &#62;dst.jpg 

as a workaround to convert into jpeg, because the "convert" tool for TIFF complains.

Overall, when someone wants to deal with rastering a dem and creating an image of it from linux he has to know that this process is not straightforward nor this simple, because tools involved are complicated , require compiling etc.

*except THESE tools*</description>
		<content:encoded><![CDATA[<p>This little and powerful toolset saved my day!<br />
FWTools do not have gdaltodem , and they are not updated either.<br />
Compiling Gdal on my system is not possible: process is failing after some time.<br />
I was looking for a linux batch mode for creating a raster image of a dem file, and here I found the solution.<br />
THANKS!</p>
<p>I suggest TIFF Tools for linux, and ImageMagick, plus the pnm tools for conversions.</p>
<p>slope src.tif dst.tif<br />
tifftopnm dst.tif &gt;dst.pnm<br />
pnmtojpeg dst.pnm &gt;dst.jpg </p>
<p>as a workaround to convert into jpeg, because the &#8220;convert&#8221; tool for TIFF complains.</p>
<p>Overall, when someone wants to deal with rastering a dem and creating an image of it from linux he has to know that this process is not straightforward nor this simple, because tools involved are complicated , require compiling etc.</p>
<p>*except THESE tools*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: perrygeo</title>
		<link>http://www.perrygeo.net/wordpress/?p=7#comment-47897</link>
		<dc:creator>perrygeo</dc:creator>
		<pubDate>Wed, 31 Mar 2010 18:16:06 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=7#comment-47897</guid>
		<description>Gabriel, 

The color-relief program does not actually do any shaded relief/shadowing at all. It just assigns colors based on the raster value. You can generate a hillshade map separately and combine them using some of the options discussed in this comment thread (I'm sure there are other ways as well).</description>
		<content:encoded><![CDATA[<p>Gabriel, </p>
<p>The color-relief program does not actually do any shaded relief/shadowing at all. It just assigns colors based on the raster value. You can generate a hillshade map separately and combine them using some of the options discussed in this comment thread (I&#8217;m sure there are other ways as well).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://www.perrygeo.net/wordpress/?p=7#comment-47896</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Wed, 31 Mar 2010 18:11:28 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=7#comment-47896</guid>
		<description>Dear Matthew 

Please, could you tell me what kind of color ramp and shadow relief image combination algorithm are you using in your color-relief program?

The problem is common GIS programs usually use a difference or addition algorithm and resulting images look dull but I 've seen an image example at http://wiki.openstreetmap.org/wiki/HikingBikingMaps produced by your program and it looks with nice colors and balanced shadows. It is seems your program conserve color tones and shadows.

Thanks in advance for your help</description>
		<content:encoded><![CDATA[<p>Dear Matthew </p>
<p>Please, could you tell me what kind of color ramp and shadow relief image combination algorithm are you using in your color-relief program?</p>
<p>The problem is common GIS programs usually use a difference or addition algorithm and resulting images look dull but I &#8216;ve seen an image example at <a href="http://wiki.openstreetmap.org/wiki/HikingBikingMaps" rel="nofollow">http://wiki.openstreetmap.org/wiki/HikingBikingMaps</a> produced by your program and it looks with nice colors and balanced shadows. It is seems your program conserve color tones and shadows.</p>
<p>Thanks in advance for your help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.perrygeo.net/wordpress/?p=7#comment-47895</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 30 Mar 2010 21:27:31 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=7#comment-47895</guid>
		<description>To compile on ubuntu 9.10 I did:
g++ `gdal-config --cflags` hillshade.cpp -o hillshade `gdal-config --libs`
etc.</description>
		<content:encoded><![CDATA[<p>To compile on ubuntu 9.10 I did:<br />
g++ `gdal-config &#8211;cflags` hillshade.cpp -o hillshade `gdal-config &#8211;libs`<br />
etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fab</title>
		<link>http://www.perrygeo.net/wordpress/?p=7#comment-47771</link>
		<dc:creator>fab</dc:creator>
		<pubDate>Fri, 22 Jan 2010 09:10:48 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=7#comment-47771</guid>
		<description>Do you know the free software SpacEyes3D Viewer / DEM tool box, it's a graphic interface based on gdaldem that allows to easy handle all gdaldem tools with a friendly QT interface, including a realtime preview (windows only).
http://technology.slashgeo.org/technology/09/10/29/1632224.shtml</description>
		<content:encoded><![CDATA[<p>Do you know the free software SpacEyes3D Viewer / DEM tool box, it&#8217;s a graphic interface based on gdaldem that allows to easy handle all gdaldem tools with a friendly QT interface, including a realtime preview (windows only).<br />
<a href="http://technology.slashgeo.org/technology/09/10/29/1632224.shtml" rel="nofollow">http://technology.slashgeo.org/technology/09/10/29/1632224.shtml</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lux7</title>
		<link>http://www.perrygeo.net/wordpress/?p=7#comment-47770</link>
		<dc:creator>Lux7</dc:creator>
		<pubDate>Mon, 18 Jan 2010 18:54:04 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=7#comment-47770</guid>
		<description>Hi, 

using : nv 0 0 0 I dont' see blue sea yet. It is still green :-(
Further suggestions ?</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>using : nv 0 0 0 I dont&#8217; see blue sea yet. It is still green <img src='http://www.perrygeo.net/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
Further suggestions ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thanhlv</title>
		<link>http://www.perrygeo.net/wordpress/?p=7#comment-47766</link>
		<dc:creator>Thanhlv</dc:creator>
		<pubDate>Thu, 14 Jan 2010 06:09:05 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=7#comment-47766</guid>
		<description>Ops, for blue color:
nv 0 0 255
right?</description>
		<content:encoded><![CDATA[<p>Ops, for blue color:<br />
nv 0 0 255<br />
right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thanhlv</title>
		<link>http://www.perrygeo.net/wordpress/?p=7#comment-47765</link>
		<dc:creator>Thanhlv</dc:creator>
		<pubDate>Thu, 14 Jan 2010 06:08:21 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=7#comment-47765</guid>
		<description>@Cecilia
Just simply add to the end of color text file this line:
nv 0 0 0</description>
		<content:encoded><![CDATA[<p>@Cecilia<br />
Just simply add to the end of color text file this line:<br />
nv 0 0 0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cecilia</title>
		<link>http://www.perrygeo.net/wordpress/?p=7#comment-47761</link>
		<dc:creator>Cecilia</dc:creator>
		<pubDate>Mon, 11 Jan 2010 13:37:52 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=7#comment-47761</guid>
		<description>Hi!

I'm using GDALDEM utilities from FWTools shell and I want to make a DSM color relief based on a color text file.

But I'm having problems in aplying the color blue only to "NoData" pixels. 

This is the color table that I'm using:

nv 148 184 235
0 137 90 68
5 76 115 0
10 38 115 0
20 76 92 0 
50 17 69 17 

What can I do to solve this problem?

Should I classify the noDATA pixels to a specific number like "99"...

Thanks

Cecília</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I&#8217;m using GDALDEM utilities from FWTools shell and I want to make a DSM color relief based on a color text file.</p>
<p>But I&#8217;m having problems in aplying the color blue only to &#8220;NoData&#8221; pixels. </p>
<p>This is the color table that I&#8217;m using:</p>
<p>nv 148 184 235<br />
0 137 90 68<br />
5 76 115 0<br />
10 38 115 0<br />
20 76 92 0<br />
50 17 69 17 </p>
<p>What can I do to solve this problem?</p>
<p>Should I classify the noDATA pixels to a specific number like &#8220;99&#8243;&#8230;</p>
<p>Thanks</p>
<p>Cecília</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lux7</title>
		<link>http://www.perrygeo.net/wordpress/?p=7#comment-47759</link>
		<dc:creator>Lux7</dc:creator>
		<pubDate>Fri, 08 Jan 2010 18:20:58 +0000</pubDate>
		<guid>http://www.perrygeo.net/wordpress/?p=7#comment-47759</guid>
		<description>hi,

Why I see the sea green ?
I have added the line

0.1    50  180  50
0       0 0 255

in the scale.txt


Thanks</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>Why I see the sea green ?<br />
I have added the line</p>
<p>0.1    50  180  50<br />
0       0 0 255</p>
<p>in the scale.txt</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.766 seconds -->
