<html><span lang="EN"><p>This is a New York state raster image I cannot seem to warp to lat/lon wgs84 projection AND keep the lat/lon extents.<br>I am not a GIS professional. Sorry.<br><strong><a href="http://www.nysgis.state.ny.us/gateway/mg/2009/clinton/09ic_t_plattsburgh_e24_4bd.htm">http://www.nysgis.state.ny.us/gateway/mg/2009/clinton/09ic_t_plattsburgh_e24_4bd.htm</a><br></strong>It's the first one on this page.<br><strong>e_07022144_24_19200_4bd_2009.jp2<br></strong>The image has roads w/ intersections so I can check for accurate placement on google earth.<br><strong><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;"><span lang="EN">(<span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">702000,2148000) (0,0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Label "Pt 1",<br></span></span></span>(708000,2148000) (3000,0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Label "Pt 2",<br>(708000,2144000) (3000,2000) Label "Pt 3",<br>(702000,2144000) (0,2000)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Label "Pt 4"<br></span></span><span style="font-size: x-small;">CoordSys Earth Projection 8,74,"survey ft",-74.5,38.83333333,0.9999,492125,0<br>Plugging these values into corpscon6 and using </span><span style="font-size: large;"><span style="font-size: small;">state plane east/zone-3101/us Survey foot</span><br></span><span style="font-size: x-small;"><br>UpperLeft,&nbsp;&nbsp; &nbsp; 44.725699136, -73.692442816<br>LowerLeft,&nbsp;&nbsp;&nbsp; 44.714727809, - 73.692595425<br>UpperRight, &nbsp;44.725533564,&nbsp; -73.669358399<br>LowerRight, 44.714562300,&nbsp; -73.669515370<br>These are the right values, according to google earth.<br>I cannot come up with the correct syntax to accurately warp and preserve the lat/lon extents.<br>I suspect that it is in the -s_srs definition. I have tried many.<strong><p>gdalwarp -s_srs ???????????????? -t_srs "+proj=latlong +datum=WGS84" -co INTERLEAVE=PIXEL -co TFW=YES -rcs -of GTiff 22144.jp2 x.tif</p></strong><font size="2"><p>Here is an example I was sure would work.<br>C:\FWTools\bin&gt;gdalwarp -s_srs "</p></font></span></strong></p><p><strong><span style="font-size: x-small; font-family: Courier New;"><span style="font-size: x-small; font-family: Courier New;">EPSG:3101 </span></span><span style="font-size: x-small;">+datum=NAD83" -t_srs "+proj=latlong +datum=WGS84" -co INTERLEAVE=PIXEL -co TFW=YES -rcs -of GTiff 22144.jp2 x.tif <p>...editted output....Creating output file that is <strong>3072P x 1961L</strong><br>.............Metadata:Corner Coordinates:<br>Upper Left ( 148.9233670, 19.4161301) (148d55'24.12"E, 19d24'58.07"N)<br>Lower Left ( 148.9233670, 19.3793925) (148d55'24.12"E, 19d22'45.81"N)<br>Upper Right ( 148.9809182, 19.4161301) (148d58'51.31"E, 19d24'58.07"N)<br>Lower Right ( 148.9809182, 19.3793925) (148d58'51.31"E, 19d22'45.81"N)</p><p>The GTiff file &nbsp;has corrupted extents. Can anyone help?</p><p>&nbsp;</p></span></strong></p></span></html>

<br><br><font SIZE="2" color="#000000">____________________________________________________________</font><br><a style="TEXT-DECORATION: none" href="http://thirdpartyoffers.netzero.net/TGL3242/4c176d09e49b365e43st03vuc" target=_blank><font face="Arial"><font color="#004080" size="3"><b>TODAY: iPads for $23.74?</b></font><br><font color="#000000" size="2">Special Report: Apple iPads are being auctioned for an incredible 80% off!<br></a><a style="COLOR: #000000" href="http://thirdpartyoffers.netzero.net/TGL3242/4c176d09e49b365e43st03vuc" target=_blank>QuiBids.com</a></font></font>