Re: Fwd: [gdal-dev] GDAL and JAVA

2010-04-01 Thread Even Rouault
GongYing Hsu, you can copypaste the text content of a windows console (in the contextual menu opened by clicking in the top-left icon of the windows console), no need to take a picture snapshot. And as the picture is truncated, it is difficult to tell exactly what is wrong... My guess is you

[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

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

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

[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

[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

[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

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

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