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

2010-04-15 Thread Kralidis,Tom [Ontario]
> -Original Message- > From: gdal-dev-boun...@lists.osgeo.org > [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of achrysochoou > Sent: Thursday, 15 April 2010 12:38 > To: gdal-dev@lists.osgeo.org > Subject: [gdal-dev] get corner coordinates from gdalopen() > > > Hi, > > I have

Re: [gdal-dev] FillNodata and source NoDatas

2010-04-15 Thread Jose Gomez-Dans
Frank, On 15 April 2010 17:24, Frank Warmerdam wrote: > Jose Gomez-Dans wrote: > >> Basically, my raster looks like a black square with some "island blobs" >> where I have data. Some pixels in those blobs are flagged as unsuitable >> (using a mask band), and I would like to interpolate these uns

Re: [gdal-dev] ColorInterp, Scale, Offset etc VRT to TIFF

2010-04-15 Thread Frank Warmerdam
Andrew Brooks wrote: Hello My first problem is that when I set ColorInterp in a VRT file it works (gdal_info reports the colour interpretation for each band) but when I convert to GeoTIFF the information is lost (gdal_info shows Undefined for all but the first band). Is that a bug or is tiff no

[gdal-dev] RE: Welcome to the "gdal-dev" mailing list (Digest mode)

2010-04-15 Thread Antony Chrysochoou
_ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969___ gdal-dev mailing list gdal-dev

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

2010-04-15 Thread achrysochoou
Hi, I have a geotiff and i am using python to read it. I am trying to extract the corner coordinates and store them in different variables. This is what i have done so far, dataset = gdal.Open(tif_path) print 'zone and Hemisphere are:', dataset.GetProjection()[26]+dataset.GetProjection()[27]+d

Re: [gdal-dev] FillNodata and source NoDatas

2010-04-15 Thread Frank Warmerdam
Jose Gomez-Dans wrote: Hi, I want to use FillNodata to fill some missing data in a raster file (obviously!). However, in my source data file some of the NoData mean just "NoData", and I want the algorithm to ignore those values. Does this method ignore the missing values when it bags the value

[gdal-dev] ColorInterp, Scale, Offset etc VRT to TIFF

2010-04-15 Thread Andrew Brooks
Hello My first problem is that when I set ColorInterp in a VRT file it works (gdal_info reports the colour interpretation for each band) but when I convert to GeoTIFF the information is lost (gdal_info shows Undefined for all but the first band). Is that a bug or is tiff not capable of represent

[gdal-dev] FillNodata and source NoDatas

2010-04-15 Thread Jose Gomez-Dans
Hi, I want to use FillNodata to fill some missing data in a raster file (obviously!). However, in my source data file some of the NoData mean just "NoData", and I want the algorithm to ignore those values. Does this method ignore the missing values when it bags the values to interpolate the output?

Re: [gdal-dev] Hi,how to translate many files to a file

2010-04-15 Thread Chaitanya kumar CH
weixj2003ld, There are two ways. One is to use gdal_merge.py script. Other is to use gdalbuildvrt to build a VRT and use gdal_translate to convert the VRT to your desired format. Refer to http://www.gdal.org/gdal_utilities.html for help. 2010/4/15 weixj2003ld > Hi, > I have 6 .tif files,and wan

Re: [gdal-dev] Question how to use GDALDatasetH

2010-04-15 Thread Chaitanya kumar CH
Alexander, You can use the GDALRasterIO() function to write an array's value to a dataset. Since it doesn't support multi-dimensional buffers, you have to use this function for every array in the two-dimensional array. Refer to http://www.gdal.org/gdal_tutorial.html for some examples. On Thu, Apr

[gdal-dev] Hi,how to translate many files to a file

2010-04-15 Thread weixj2003ld
Hi, I have 6 .tif files,and want to get a JPEG file or a tif file. How to realize it with command gdal_translate? Thk u in advance.___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Question how to use GDALDatasetH

2010-04-15 Thread Alexander Plum
Dear ladies and gentlemen, I want to load a two dimensional array with elevation values into a GDALDatasetH. But I do not know how to do so. I would be grateful for any help. Later on it is my destination using the GDALContour function to construct highlines based on my elevation values. Wit