<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have downloaded a Blue Marble PNG image from
visibleearth.nasa.gov:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A
href="">http://visibleearth.nasa.gov/view_detail.php?id=7102</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>called:world.topo.bathy.200403.3x21600x21600.C1.png</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>its 21600 x 21600 and 347.3MB.</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>What I want to be able to do is select a tile
of that image by giving gdal_translate lat/long corners and output a jpeg file.
I have tried these command line parameters:<BR><BR></FONT><FONT
size=2>gdal_translate -projwin -93.246226 </FONT><FONT size=2>44.892179
</FONT><FONT size=2>-93.195672 </FONT><FONT size=2>44.866816 </FONT><FONT
size=2>-outsize 9424 4728 <FONT size=2>-of JPEG </FONT></FONT><FONT
size=2>world.200407.3x21600x21600.C1.png output.jpg</FONT></DIV><FONT
size=2><FONT face=Arial><FONT size=2>
<P>This generates the following errors:</P>
<P>Input file size is 21600, 21600<BR>Computed -srcwin -93 44 0 0 from projected
window.<BR>Computed -srcwin falls outside raster size of
21600x21600.<BR><BR>What am I doing wrong?</P>
<P>Thanks!<BR>Christina</P></FONT></FONT></FONT></FONT></DIV></FONT></DIV></BODY></HTML>