<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=541272817-23072008><FONT face="Courier New" 
color=#0000ff size=2>Duncan,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541272817-23072008><FONT face="Courier New" 
color=#0000ff size=2>both images in ArcMap located at the same upper-left 
corner and rotated </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541272817-23072008><FONT face="Courier New" 
color=#0000ff size=2>around it about 45 degrees clockwise:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541272817-23072008><A 
title=blocked::ftp://aerometric-ak:amak2014@ftp.aerometric-ak.com/users/aerometric-ak 
href="ftp://aerometric-ak:amak2014@ftp.aerometric-ak.com/users/aerometric-ak"><U 
title=blocked::ftp://aerometric-ak:amak2014@ftp.aerometric-ak.com/users/aerometric-ak><FONT 
title=blocked::ftp://aerometric-ak:amak2014@ftp.aerometric-ak.com/users/aerometric-ak><FONT 
title=blocked::ftp://aerometric-ak:amak2014@ftp.aerometric-ak.com/users/aerometric-ak 
size=2><A 
href="ftp://aerometric-ak:amak2014@ftp.aerometric-ak.com/users/aerometric-ak/gok/gdal/AUV">ftp://aerometric-ak:amak2014@ftp.aerometric-ak.com/users/aerometric-ak</FONT></U></FONT></A><FONT 
face="Courier New" color=#0000ff size=2>/gok/gdal/AUV</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541272817-23072008><FONT face="Courier New" 
color=#0000ff size=2>Is it location you are expecting? Looks fine for 
me.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541272817-23072008><FONT face="Courier New" 
color=#0000ff size=2>Did mention that both images have 0 
resolution:</FONT></SPAN></DIV><SPAN class=541272817-23072008><FONT 
face="Courier New" color=#0000ff size=2></FONT><FONT face="Courier New" 
color=#0000ff size=2></FONT>
<DIV dir=ltr align=left><BR><FONT face="Courier New" color=#0000ff size=2>Image 
width=1360, length=1024 (1392640 pixels)<BR>resolution: 0.00/0.00 
pixels/inch<BR>scan line 
size =4080<BR>bits/sample =8<BR>photometric RGB color 
model<BR>samples/pixel =3<BR>compression JPEG DCT 
compression</FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff 
size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=541272817-23072008><FONT face="Courier New" 
color=#0000ff size=2>Somebody on dev list might give you more 
insights.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff 
size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=541272817-23072008><FONT face="Courier New" 
color=#0000ff size=2>Happy programming!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=541272817-23072008><FONT face="Courier New" 
color=#0000ff size=2>Gennady</FONT></SPAN></DIV>
<DIV dir=ltr align=left></SPAN> </DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Duncan Mercer 
[mailto:d.mercer@acfr.usyd.edu.au] <BR><B>Sent:</B> Tuesday, July 22, 2008 4:51 
PM<BR><B>To:</B> geotiff@lists.maptools.org<BR><B>Subject:</B> [Geotiff] Geotiff 
problem with "small" images???<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>Hi <BR><BR>I'm new to the world of geotiff and I'm running<BR>into 
a problem when generating small area coverage<BR>geotiffs<BR><BR>I'm collecting 
images using a robotic submarine (an AUV)<BR>and want to use geotiff to locate 
these images for use in a<BR>GIS etc. Typical footprint for the images is 1m x 
1.5m<BR><BR>If I write the geotiff tags using the correct size then the<BR>image 
appears badly distorted when viewed in openev and<BR>in arcgis. If however I 
keep everything else the same and <BR>pretend that the image is 1Km x 1.5Km the 
image will appear<BR>undistorted.<BR><BR>Has anyone come across this issue 
before, is there some fundamental<BR>lower limit on the image size that I've not 
picked up on? Or can someone<BR>tell me how to search the mailing list archives 
for similar issues?<BR><BR>Example images are available at.<BR><A 
href="http://www-personal.acfr.usyd.edu.au/d.mercer/geotiff">http://www-personal.acfr.usyd.edu.au/d.mercer/geotiff</A><BR>Large 
image appears ok, but oversized. Small image is distorted<BR>(at least in 
openev. I haven't been able to check this one in arcgis<BR>but I have seen the 
issue with other images I have generated in the 
past)<BR><BR><BR><BR><BR>FYI.<BR>I am using libgeotiff and writing the following 
geotags...<BR><BR>  TIFFSetField(tif_ptr, TIFFTAG_GEOTRANSMATRIX, 16, 
position.transform); <BR><BR>  GTIFKeySet(gtif_ptr, GTModelTypeGeoKey, 
TYPE_SHORT, 1, ModelTypeProjected);<BR>  GTIFKeySet(gtif_ptr, 
GTRasterTypeGeoKey, TYPE_SHORT, 1, RasterPixelIsArea);<BR> <BR>  
GTIFKeySet(gtif_ptr, ProjectedCSTypeGeoKey, TYPE_SHORT, 1, utm_zone);<BR>  
GTIFKeySet(gtif_ptr, PCSCitationGeoKey, TYPE_ASCII, PCS_Zone.str().length(), 
PCS_Zone.str().c_str());<BR><BR><BR>Any help or suggestions gratefully 
received.<BR>Best regards<BR>Duncan<BR><BR><BR>-- <BR>Dr Duncan 
Mercer<BR>Australian Centre for Field Robotics<BR>The Rose Street Building, 
J04<BR>The University of Sydney.<BR>2006 NSW, Australia<BR>Tel: +61 (0) 2 9036 
7178<BR>Fax: +61 (0) 2 9351 7474 </DIV></BODY></HTML>