<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
        {mso-style-type:personal-compose;
        font-family:Verdana;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:123237553;
        mso-list-type:hybrid;
        mso-list-template-ids:-294738386 -1046055694 68157443 68157445 68157441 68157443 68157445 68157441 68157443 68157445;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Verdana;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=IT link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'>Hi All,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'>I’m new both to this mail-list and to GeoTIFF
too.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'>Nevertheless, I’m developing a Cad application
which allows the user to pick a desired number of points in a TIFF raster image
(thus the application retrieves their </span></font><font size=2 face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana'>raster coordinates) and
</span></font><font size=2 face=Verdana><span lang=EN-US style='font-size:10.0pt;
font-family:Verdana'>inputs their corresponding </span></font><font size=2
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana'>model
coordinates. Then t</span></font><font size=2 face=Verdana><span lang=EN-US
style='font-size:10.0pt;font-family:Verdana'>he application performs an affine
transformation between the two systems and calculates the 4 parameters: X
translation, Y translation, scaling factor, rotation angle.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'>So my question is: how do I store this georeferencing
data into the original TIFF file so that it becomes a GeoTIFF file? <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'>Looking at some documentation, it seems that ModelTransformationTag
would do the case, but unfortunately I could not find specification on how to transform
my (affine transformation) parameters into its arguments.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'>Another option for me could be to create a TFW
file, but also in this case I don’t understand how to convert my affine
transformation 4 parameters into the TFW values. Also, Cad software, such as
AutoCAD, seems to ignore the second and third lines of a TFW (X/Y rotation).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'>Any help to lead me in the right direction would be
greatly appreciated, thanks in advance.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'>Gianni Rossi</span></font><span lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-US style='font-size:
10.0pt;font-family:Verdana'>Tecnobit S.r.l.</span></font><span lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>