[FWTools] Converting a DEM file to a *.png Height Map

Frank Haymes frankghaymes at hotmail.com
Sun Jun 22 17:47:17 EDT 2008

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

More information about the FWTools mailing list