[FWTools] GetGeoTransform with AUX.XML files
Chris Ryan
cryan at csse.com.au
Wed Oct 12 00:02:45 EST 2011
Hi All ,
Not sure if this is the right mailing list but I'm having problems with my application that uses the FWTools 2.4.7 windows binaries via a Delphi wrapper. I'm finding that the existence of a .aux.xml file for an ECW image is causing the GetGeoTransform function to fail. If I delete the XML file this function returns the expected (305000, 0.1, 0, 6260000, 0, -0.1) but if this file is present, it returns (0, 1, 0, 0, 0, 1). Any pointers from the experts?
The contents of the XML file is:
<PAMDataset>
<SRS>PROJCS["GDA_1994_MGA_Zone_56",GEOGCS["GCS_GDA_1994",DATUM["Geocentric_Datum_of_Australia_1994",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",153.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</SRS>
<PAMRasterBand band="1">
<Metadata>
<MDI key="LAYER_TYPE">athematic</MDI>
</Metadata>
</PAMRasterBand>
<PAMRasterBand band="2">
<Metadata>
<MDI key="LAYER_TYPE">athematic</MDI>
</Metadata>
</PAMRasterBand>
<PAMRasterBand band="3">
<Metadata>
<MDI key="LAYER_TYPE">athematic</MDI>
</Metadata>
</PAMRasterBand>
</PAMDataset>
Cheers,
Chris Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20111012/a04887bf/attachment.htm
More information about the FWTools
mailing list