Re: [gdal-dev] convert geotiff to jpg

2010-04-01 Thread Frank Warmerdam
weixj2003ld wrote: Hi,how to convert a geotiff file to a jpg file? Wei, Sorry, I neglected this part. gdal_translate -of JPEG in.tif out.jpg Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerda

Re: [gdal-dev] convert geotiff to jpg

2010-04-01 Thread Frank Warmerdam
weixj2003ld wrote: Hi,how to convert a geotiff file to a jpg file? BTW,I read two .tif files.and to get the count of raster through getRastercount().one is 3 and the other is 6,what is means of 3 and 6? Thk u in advance. Wei, The eat-your-own-tail answer is that 3 and 6 are the number of ba

[gdal-dev] software can display geotiff file in 3D viewer.

2010-04-01 Thread weixj2003ld
Hi Could you tell me some open source softwares(base on windows) that can display geotiff files in 3D mode not in 2D mode? wei___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] convert geotiff to jpg

2010-04-01 Thread weixj2003ld
Hi,how to convert a geotiff file to a jpg file? BTW,I read two .tif files.and to get the count of raster through getRastercount().one is 3 and the other is 6,what is means of 3 and 6? Thk u in advance.___ gdal-dev mailing list gdal-dev@lists.osgeo.org h

[gdal-dev] Unable to set GDAL_merge NODATA or calculate statistics

2010-04-01 Thread Olsen, Keith
Hey, I have two questions. 1. I have 32bit float rasters that I'm trying to merge. GDAL_merge does not seem to set the output nodata to the first input raster nodata value. There is a -n option, but the nodata value for a 32bit float is -3.4028235e+038. Entering in this value with -n

Re: [gdal-dev] Setting ENVI .hdr band names

2010-04-01 Thread Frank Warmerdam
Benjamin Welton wrote: Hey all, Im wondering if its possible to set the band names that appear in the ENVI header file instead of having the default band 1, band 2, (which looks kinda messy) Ben, Reviewing the current envidataset.cpp code, it seems that either band_names and wavelen

RE: [gdal-dev] Memory corruption in PNG driver with Microsoft DebugDLLs?

2010-04-01 Thread Shaw, Jonathan-P29740
Thanks, Tamas. Your blog posting is helpful in explaining the potential problems and the care that must be taken. I already paid careful attention to the memory allocation/deallocation DLL boundary concerns, but somehow I was clueless on the issues related to compiling against mixtures of Microsoft

Re: [gdal-dev] Memory corruption in PNG driver with Microsoft DebugDLLs?

2010-04-01 Thread Tamas Szekeres
2010/4/1 Shaw, Jonathan-P29740 > Upon further browsing of the open tickets, I'm wondering if I'm > experiencing the crashes, heap corruption, etc. described by > http://trac.osgeo.org/gdal/ticket/3346. > > Jonathan, You probably use GDAL along with one or more dependencies loaded dynamically (li

[gdal-dev] get the x and y coordinate of geotiff

2010-04-01 Thread weixj2003ld
1. How could I get the x and y of world coordinate ,or the longitude and the latitude of it by GDAL? 2. How could get the height of it with GDAL? Thk u in advance.___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinf