Re: [gdal-dev] python gdal gdal.ReprojectImage produces no data

2009-07-29 Thread Jachym Cepicky
Hi Frank (and others), > Jachym, > > The problem is that your output file does not have a geotransform set, > so ReprojectImage() does not realize the output file overlaps the > area available from the input file. You need to set the geotransform > before calling ReprojectImage(). Setting the co

Re: [gdal-dev] python gdal gdal.ReprojectImage produces no data

2009-07-29 Thread Frank Warmerdam
Jachym Cepicky wrote: Hi I would like to write "custom" version of the gdalwarp tool in Python using gdal.ReprojectImage() function, but the only result I get, is just a empty "black" image. The code would look like this: # --- python code start --- from osgeo import gdal # let's

[gdal-dev] python gdal gdal.ReprojectImage produces no data

2009-07-29 Thread Jachym Cepicky
Hi I would like to write "custom" version of the gdalwarp tool in Python using gdal.ReprojectImage() function, but the only result I get, is just a empty "black" image. The code would look like this: # --- python code start --- from osgeo import gdal # let's have georeferenced geot