[Gdal-dev] GeoTiff projection/transformation problem
packalen at cs.joensuu.fi
Mon Feb 17 06:56:34 EST 2003
I built snapshot cvs-030217 and now GeoTransform info is written to the
output file properly. However, projection is not written to the output
file and during the execution of GDALAllRegister() arise an error 'ERROR
1: Can't find requested entry point: CellLayerClose'.
>> Hi Everyone,
>> Below is a piece of code where: (1) a new driver is created, (2) a new
>> dataset is created based on driver just created, (3) projection and
>> transformation data are copied to output dataset, and (4) finally input
>> and output datasets are closed. This works without any problems when
>> working with IMAGINE files, but when new GTiff dataset is created neither
>> projection nor affine transformation info is written to the output file
>> (projection and transformation info are saved properly to output dataset).
>> The input GeoTiff file is not created by GDAL, but works properly when
>> processed with libgeotiff. GDAL version is 1.1.8.
>> I wonder if there is some fundamental problem in my code? Any hints how
>> to progress?
> This is a bug in GDAL 1.1.8 with the Create() method. The CreateCopy()
> (used by gdal_translate) works OK. This is fixed in the nightly CVS
> snapshots. I would suggest building from that.
More information about the Gdal-dev