Re: [gdal-dev] Bulding VRT files from HDF sds

2010-04-16 Thread Frank Warmerdam
Jose Gomez-Dans wrote: Running gdalinfo -stats on the new filename proceeds reporting the expected information, band by band... slowly but surely, until it reaches band 33 (it's band 33 everytime, even with different datasets): Band 33 Block=128x128 Type=Int16, ColorInterp=Undefined

[gdal-dev] Re: Bulding VRT files from HDF sds

2010-04-16 Thread Jose Gomez-Dans
More on this On 16 April 2010 19:04, Jose Gomez-Dans wrote: > I want to put together a time series of MODIS datasets in VRT, the > originals being in HDF EOS format. > It appears that if I convert my HDF sds into standard GeoTIFFs (gdal_translate -of GTiff .), and then generate by VRT, it

[gdal-dev] Bulding VRT files from HDF sds

2010-04-16 Thread Jose Gomez-Dans
Hi, I want to put together a time series of MODIS datasets in VRT, the originals being in HDF EOS format. I do that by defining the SDS for each date and sticking it into a file: HDF4_EOS:EOS_GRID:"../blablah.hdf":blah:blah HDF4_EOS:EOS_GRID:"../blablah.hdf":blah:blah HDF4_EOS:EOS_GRID:"../blablah.

[gdal-dev] Re: -scale command

2010-04-16 Thread hjp85
Frank Warmerdam wrote: > > > So either you need to just use -scale and let it rescale things to 0 to > 255 > (and then perhaps rescale again to 0 to 1000), or you could run gdalinfo > with the -mm (min max) switch to find the maximum value in advance. > > Ah, ok. Thanks Frank, your first sug

Re: [gdal-dev] using JNI with gdal.dlls

2010-04-16 Thread Chaitanya kumar CH
Gurpreet, You can find the help regarding this at http://trac.osgeo.org/gdal/wiki/GdalOgrInJava Also look at http://trac.osgeo.org/gdal/wiki/BuildHints On Fri, Apr 16, 2010 at 7:01 PM, Gurpreet singh < gurpreetsingh.2...@gmail.com> wrote: > HI I am new to gdal could you please let me know about

Re: [gdal-dev] -scale command

2010-04-16 Thread Frank Warmerdam
hjp85 wrote: Hi, I have numerous velocity raster images from an ice sheet model that I would like to scale so that each raster has has a maximum value of 1000 and minimum value of 0. At the moment they all have different max values depending on what the fastest velocity of the ice sheet is at th

Re: [gdal-dev] gdal_translate png from geotiff resolution problem

2010-04-16 Thread Frank Warmerdam
achrysochoou wrote: Hi, I used this command "gdal_translate -of PNG test.tif test.png" and i got a 300KB PNG from a 650KB (just the image file) GEOTIFF. I was wondering if there is a method to extract the image from the geotiff or not lose data in the conversion process? Achrysochoou, The

[gdal-dev] -scale command

2010-04-16 Thread hjp85
Hi, I have numerous velocity raster images from an ice sheet model that I would like to scale so that each raster has has a maximum value of 1000 and minimum value of 0. At the moment they all have different max values depending on what the fastest velocity of the ice sheet is at that moment in t

[gdal-dev] gdal_translate png from geotiff resolution problem

2010-04-16 Thread achrysochoou
Hi, I used this command "gdal_translate -of PNG test.tif test.png" and i got a 300KB PNG from a 650KB (just the image file) GEOTIFF. I was wondering if there is a method to extract the image from the geotiff or not lose data in the conversion process? Thanks in advance! -- View this message i

[gdal-dev] RE: get corner coordinates from gdalopen()

2010-04-16 Thread achrysochoou
Surely this is very helpful! Thanks a bunch Tom! Cheers! -- View this message in context: http://n2.nabble.com/get-corner-coordinates-from-gdalopen-tp4908657p4911981.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing

[gdal-dev] using JNI with gdal.dlls

2010-04-16 Thread Gurpreet singh
HI I am new to gdal could you please let me know about using gdal.dlls with java native interface. regards gurpreet ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev