<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Matt,<BR>
<BR>
I tried exporting using OpenEV. <BR>
<BR>
I get the error "Unable to create output file xxxx".<BR>
<BR>
Is there some setup that I need to do before trying to export the file?<BR>
<BR>
I also tried to use gdal_translate and it would not read the *.dem file.<BR><BR>> Date: Thu, 19 Jun 2008 09:52:51 -0700<BR>> From: matt.wilkie@gov.yk.ca<BR>> To: frankghaymes@hotmail.com<BR>> CC: fwtools@lists.maptools.org<BR>> Subject: Re: [FWTools] Converting a DEM file to a *.png Height Map<BR>> <BR>> Hi Frank,<BR>> <BR>> For OpenEV it should be sufficient to load the DEM, then use the "File > <BR>> Export" menu and select png for output format. If you've tried this <BR>> already and it didn't work you may have to play with the output byte <BR>> type (you'll need to consult the docs for your target application for <BR>> this) using the commandline gdal_translate.<BR>> <BR>> The following convert to an 8bit and unsigned 16bit png respectively:<BR>> <BR>> gdal_translate -of png -ot byte infile.dem outfile.png<BR>> gdal_translate -of png -ot uint16 infile.dem outfile.png<BR>> <BR>> Command reference http://www.gdal.org/gdal_translate.html<BR>> <BR>> cheers,<BR>> <BR>> matt wilkie<BR>> --------------------------------------------<BR>> Geographic Information,<BR>> Information Management and Technology,<BR>> Yukon Department of Environment<BR>> 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9<BR>> 867-667-8133 Tel * 867-393-7003 Fax<BR>> http://environmentyukon.gov.yk.ca/geomatics/<BR>> --------------------------------------------<BR>> <BR>> <BR>> Frank Haymes wrote:<BR>> > How do I export a DEM Height Map to a .png file using OpenEV?<BR>> > <BR>> > I have downloaded and install FWTools. Is there nother program to do this?<BR>> > <BR>> > Frank G. Haymes<BR>> > <BR>> > ------------------------------------------------------------------------<BR>> > Introducing Live Search cashback . It's search that pays you back! Try <BR>> > it Now <BR>> > <http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=introsrchcashback><BR>> > <BR>> > <BR>> > ------------------------------------------------------------------------<BR>> > <BR>> > _______________________________________________<BR>> > FWTools mailing list<BR>> > FWTools@lists.maptools.org<BR>> > http://lists.maptools.org/mailman/listinfo/fwtools<BR>> > http://fwtools.maptools.org/<BR>> <BR><BR><br /><hr />The other season of giving begins 6/24/08. Check out the i’m Talkathon. <a href='http://www.imtalkathon.com?source=TXT_EML_WLH_SeasonOfGiving' target='_new'>Check it out!</a></body>
</html>