> 
> content of 6617-04.eww:
> 
> 0.2
> 0.0
> 0.0
> -0.2
> 653750.1
> 169999.9
> 
> following geotransform item added to 6617-04.ecw.aux.xml:
> 
> <PAMDataset>
> 
> <SRS>PROJCS[&quot;MGI_BMNM34&quot;,GEOGCS[&quot;GCS_MGI&quot;,DATUM[&quot;M
> ilitar_Geographische_Institute&quot;,SPHEROID[&quot;Bessel_1841&quot;,63773
> 97.155,299.1528128]],PRIMEM[&quot;Greenwich&quot;,0.0],UNIT[&quot;Degree&qu
> ot;,0.0174532925199433]],PROJECTION[&quot;Transverse_Mercator&quot;],PARAME
> TER[&quot;False_Easting&quot;,750000.0],PARAMETER[&quot;False_Northing&quot
> ;,-5000000.0],PARAMETER[&quot;Central_Meridian&quot;,16.333333333333],PARAM
> ETER[&quot;Scale_Factor&quot;,1.0],PARAMETER[&quot;Latitude_Of_Origin&quot;
> ,0.0],UNIT[&quot;Meter&quot;,1.0]]</SRS>
> <GeoTransform>653750.1,0.2,0,169999.9,0,-0.2</GeoTransform>

--> This is not the more accurate translation from worldfile convention to GDAL 
convention. The coordinates of the top-left pixel in worldfiles are the center 
of pixel. In GDAL convention, it is the top-left corner of the top-left pixel, 
hence a half-pixel shift. So in GDAL, the GeoTransform should be:

<GeoTransform>653750,0.2,0,170000,0,-0.2</GeoTransform>

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to