Rodolfo,<br><br>I don't remember how to choose the matrix to be inverted here. However you can read about GDAL's affine transformation coefficients in the documentation for GDALDataset::GetGeoTransform() [1]. You can also find relevant info at the GDAL Data Model page [2].<br>
<br>[1]: <a href="http://www.gdal.org/classGDALDataset.html#f9593cc241e7d140f5f3c4798a43a668">http://www.gdal.org/classGDALDataset.html#f9593cc241e7d140f5f3c4798a43a668</a><br>[2]: <a href="http://www.gdal.org/gdal_datamodel.html">http://www.gdal.org/gdal_datamodel.html</a><br>
<br><div class="gmail_quote">On Wed, Jul 6, 2011 at 12:03 AM, Rodolfo Bonnin <span dir="ltr"><<a href="mailto:rodolfobonnin@suremptec.com.ar">rodolfobonnin@suremptec.com.ar</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello All,<div><br></div><div>I'm working on a new PRISM driver, and it can now read the rasterbands from all products. Now I'm working on reading the georeferencing data, and trying to set the affine matrix coefficients. The format specification* says in page 53 for one of the map projection fields:</div>
<div><br></div><div><br></div><div>Field No 58</div><div><br></div><div><div>Coefficient of F4 function (a, b, c, d, e, f)</div><div><br></div><div><div>x' a b x e</div><div> = +</div>
<div>y' c d y f</div></div><div><br></div><div>(x,y) : Map coordinate</div><div>(x',y') : Corrected Image address</div></div><div><br></div><div>Remarks:</div><div><div><br></div><div>
Map projection origin = (0,0).</div><div>In case of UTM, map coordinate at an</div><div>intersection of the equator and UTM</div><div>zone refelence (sic) circles of longitude = (0,0)</div></div><div><br></div><div>_____</div>
<div><br></div><div>* <a href="http://www.eorc.jaxa.jp/ALOS/en/doc/fdata/PRISM_L1_J_ENa.zip" target="_blank">http://www.eorc.jaxa.jp/ALOS/en/doc/fdata/PRISM_L1_J_ENa.zip</a></div><div><br></div><div><br></div><div>Shall I assume the affine coefficients gdal requires, are those of the inverse of the given matrix? Just to confirm.</div>
<div>Many thanks in advance.</div><br>-- <br><span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;">Ing. Rodolfo Bonnin<br>SUR Emprendimientos Tecnológicos<br><br>Perú 345 Piso 5to Oficina "B" (C1067AAG)<br>
Ciudad de Buenos Aires, Argentina<br>Tel. +54 (11) 4342-2976/84<br>rodolfobonnin@<a href="http://suremptec.com.ar/" style="color: rgb(7, 77, 143);" target="_blank">suremptec.com.ar</a><br><a href="http://www.suremptec.com/" style="color: rgb(7, 77, 143);" target="_blank">www.suremptec.com</a></span><br>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>