On 11-02-18 03:39 AM, Vadim Shlyakhov wrote:
So, if you have GCP SRS, you don't need SRS set at the dataset level, do you?

Vadim,

Correct.

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?

As mentioned, this the fallback value when there isn't one.  But the method
should return CE_Failure on failure so you can distinguish whether the
unity transform is "real" or just a filler value.

So I consider it a feature.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to