Vadim, (0,1,0,0,0,1) is the default transform and will be returned even in case of an error.
On Fri, Feb 18, 2011 at 2:09 PM, Vadim Shlyakhov <vadp.d...@gmail.com>wrote: > Frank Warmerdam <warmerdam <at> pobox.com> writes: > > > > In theory it could make sense to have a dataset with a dataset level SRS > > and geotransform, and also GCPs with a different SRS. In some cases the > GCPs > > are in a particular SRS (say lat/long) just because it is a convenient > > coordinate system to collect the GCPs, not because it is representative > of > > the geometry of the image. > > Thanks Frank, That was actually my understanding. BSB and Ozi have their > GCPs in > long/lat, so I thought that a feature for such a case. > > So, if you have GCP SRS, you don't need SRS set at the dataset level, do > you? > > BTW I've noticed if a dataset doesn't have a geotransform, then > ds.GetGeoTransform() returns (0.0, 1.0, 0.0, 0.0, 0.0, 1.0). Is that a > feature > or a bug? > > > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev