Dan,<br><br>Can you tell what your error message was?<br><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 1:41 AM, spalt <span dir="ltr"><<a href="mailto:danf@nac.net">danf@nac.net</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;">
Hi there!<br>
<br>
Please forgive this terribly newbie question. Been searching all day and I<br>
just don't get it.<br>
<br>
I have a geotiff VFR image from the FAA with the following coordinates as<br>
reported by gdalinfo:<br>
<br>
Upper Left ( -143411.876, 94058.326) ( 78d44'4.05"W, 39d49'53.24"N)<br>
Lower Left ( -143411.876, -93607.521) ( 78d41'40.46"W, 38d 7'55.46"N)<br>
Upper Right ( 111698.876, 94058.326) ( 75d44'16.70"W, 39d50'10.29"N)<br>
Lower Right ( 111698.876, -93607.521) ( 75d46'8.55"W, 38d 8'12.11"N)<br>
Center ( -15856.500, 225.403) ( 77d14'2.52"W, 38d59'36.84"N)<br>
<br>
I would like to crop the file as follows:<br>
West_Bounding_Coordinate: -78.734457<br>
East_Bounding_Coordinate: -75.737971<br>
North_Bounding_Coordinate: 39.843493<br>
South_Bounding_Coordinate: 38.132073<br>
<br>
I guess the problem is I need to convert the -78.734457 into paramaters for<br>
gdal_translate, but when I run this it gives an error:<br>
<br>
gdal_translate -projwin -78.734457 39.843493 -75.737971 38.132073 in.tif<br>
out.tif<br>
<br>
What am I missing? Thanks!!<br>
<br>
-Dan<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/cropping-a-tif-with-lat-lon-tp6292065p6292065.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/cropping-a-tif-with-lat-lon-tp6292065p6292065.html</a><br>
Sent from the GDAL - Dev mailing list archive at Nabble.com.<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>
</font></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>