<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=591090817-19082003><FONT face=Arial color=#0000ff size=2>Dear 
Wizard -</FONT></SPAN></DIV>
<DIV><SPAN class=591090817-19082003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=591090817-19082003><FONT face=Arial color=#0000ff size=2>The 
problem is that your "rectangle" isn't a rectangle!  You seem to be trying 
to reproject your image - can you describe the input and output projections 
you're using?  Those numbers make it look like your input data might be in 
UTM (but it could certainly be something else), but what is your desired output 
projection?</FONT></SPAN></DIV>
<DIV><SPAN class=591090817-19082003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=591090817-19082003>    <FONT face=Arial 
color=#0000ff size=2>- Ed</FONT></SPAN></DIV>
<DIV><SPAN class=591090817-19082003>
<P><FONT size=2>Ed McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com / 
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford, 
MA  01863<BR>ed@topozone.com<BR>(978) 251-4242 </FONT></P></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Geographic Wizard 
  [mailto:geowiz@shaw.ca]<BR><B>Sent:</B> Tuesday, August 19, 2003 12:58 
  PM<BR><B>To:</B> gdal-dev@remotesensing.org<BR><B>Subject:</B> [Gdal-dev] Warp 
  / rotation<BR><BR></FONT></DIV>
  <DIV>
  <DIV><FONT size=2>
  <DIV><FONT size=2>Hi, everybody</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2>New to GDAL as well as using georeferenced raster images. I 
  am trying to figure out how to do the following, and any help / insight would 
  be greatly appreciated. I have put some numbers together as an example 
  :</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2>I have an image (tif/jpg/png) 5000 x 5000 that is georef 
  with a world file</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2>2</FONT></DIV>
  <DIV><FONT size=2>0</FONT></DIV>
  <DIV><FONT size=2>0</FONT></DIV>
  <DIV><FONT size=2>-2</FONT></DIV>
  <DIV><FONT size=2>667500</FONT></DIV>
  <DIV><FONT size=2>5864000</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2>I would like to pull a sub image of this that is bound by a 
  rectangle</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2> 669273--------------------------- 670898</FONT></DIV>
  <DIV><FONT size=2>5862482--------------------------- 5862538</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2> 669330--------------------------- 670956</FONT></DIV>
  <DIV><FONT size=2>5860859---------------------------5860910</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2>I would like line # 1 of the sub-image to be along the top 
  boundary of the rectangle, therefore it needs to be rotated by about 2 degrees 
  cw.</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2>Any help would be appreciated.</FONT></DIV>
  <DIV><FONT size=2></FONT> </DIV>
  <DIV><FONT size=2>Thanks,</FONT></DIV>
  <DIV><FONT 
size=2>Steve</FONT></DIV></FONT></DIV></DIV></BLOCKQUOTE></BODY></HTML>