Dan, Can you tell what your error message was?
On Thu, Apr 21, 2011 at 1:41 AM, spalt <[email protected]> wrote: > Hi there! > > Please forgive this terribly newbie question. Been searching all day and I > just don't get it. > > I have a geotiff VFR image from the FAA with the following coordinates as > reported by gdalinfo: > > Upper Left ( -143411.876, 94058.326) ( 78d44'4.05"W, 39d49'53.24"N) > Lower Left ( -143411.876, -93607.521) ( 78d41'40.46"W, 38d 7'55.46"N) > Upper Right ( 111698.876, 94058.326) ( 75d44'16.70"W, 39d50'10.29"N) > Lower Right ( 111698.876, -93607.521) ( 75d46'8.55"W, 38d 8'12.11"N) > Center ( -15856.500, 225.403) ( 77d14'2.52"W, 38d59'36.84"N) > > I would like to crop the file as follows: > West_Bounding_Coordinate: -78.734457 > East_Bounding_Coordinate: -75.737971 > North_Bounding_Coordinate: 39.843493 > South_Bounding_Coordinate: 38.132073 > > I guess the problem is I need to convert the -78.734457 into paramaters for > gdal_translate, but when I run this it gives an error: > > gdal_translate -projwin -78.734457 39.843493 -75.737971 38.132073 in.tif > out.tif > > What am I missing? Thanks!! > > -Dan > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/cropping-a-tif-with-lat-lon-tp6292065p6292065.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
