<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><div>try this<br><br>> gdalwarp -s_srs EPSG:26914 -t_srs "ESRI::my ESRI Projection.prj" ...<br><br>The quotes are needed if there are spaces in the name. In general, I also up the resampling method to at least -r bilinear<br><br>Regards,<br>Trent<br><br><br></div><font color="#990099">-----fwtools-bounces@lists.maptools.org wrote: -----<br><br></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid #000000; margin-right: 0px;">To: <fwtools@lists.maptools.org><br>From: "Mark Volz" <MarkVolz@co.lyon.mn.us><br>Sent by: fwtools-bounces@lists.maptools.org<br>Date: 11/16/2010 01:48PM<br>Subject: [FWTools] using a custom coordinate system within gdalwarp<br><br>
<!--Notes ACF <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf8">-->
<!-- Converted from text/rtf format -->
<p dir="LTR"><span lang="en-us"><font face="Calibri">Hello,</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">I am trying to convert a</font></span><span lang="en-us"> <font face="Calibri">mrsid file to a geotiff using gdalwarp. The to projection is in county coordinates, so it</font></span><span lang="en-us"> <font face="Calibri">does not have an</font></span><span lang="en-us"> <font face="Calibri">EPSG code. How can I use a ESRI.pr</font></span><span lang="en-us"><font face="Calibri">j file with gdalwarp?</font></span></p>
<p dir="LTR"><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">gdalwarp -s_srs EPSG:26914 -t_srs "</font></span><span lang="en-us"><font face="Calibri">my ESRI Projection</font></span><span lang="en-us"><font face="Calibri">" -r cubic ortho_1-</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">1_1n_s_mn117_2010_1.sid FSA2010.GTiff</font></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">Also,</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">If it works better I have the projection information from Mapse</font></span><span lang="en-us"><font face="Calibri">rver</font></span></p>
<p dir="LTR"><span lang="en-us"> <font face="Calibri">Projection #Pipestone County Coordinates</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri"> "proj=lcc"</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri"> 'lat_1=43.88333333333334'</font></span></p>
<p dir="LTR"><span lang="en-us"> <font face="Calibri">'lat_2=44.15'</font></span></p>
<p dir="LTR"><span lang="en-us"> <font face="Calibri"> 'lat_0=43.849166666666667'</font></span></p>
<p dir="LTR"><span lang="en-us"> <font face="Calibri"> 'lon_0=-96.25000000000001'</font></span></p>
<p dir="LTR"><span lang="en-us"> <font face="Calibri"> 'x_0=152400.3048006096'</font></span></p>
<p dir="LTR"><span lang="en-us"> <font face="Calibri"> 'y_0=30480.06096012192'</font></span></p>
<p dir="LTR"><span lang="en-us"> <font face="Calibri"> 'a=6378670.401'</font></span></p>
<p dir="LTR"><span lang="en-us"> <font face="Calibri"> 'b=6357283.927'</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri"> "units=ft"</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri"> "no_defs"</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri"> END #projection</font></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">Thanks</font></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"></span><span lang="en-us"></span><span lang="en-us"><font face="Calibri">Mark Volz</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">GIS Specialist</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">Lyon County,</font> <font face="Calibri">MN</font></span></p>
<p dir="LTR"><span lang="en-us"></span></p>
<font size="3" face="Courier New,Courier,monospace">_______________________________________________<br>FWTools mailing list<br>FWTools@lists.maptools.org<br><a href="http://lists.maptools.org/mailman/listinfo/fwtools">http://lists.maptools.org/mailman/listinfo/fwtools</a><br><a href="http://fwtools.maptools.org/">http://fwtools.maptools.org/</a><br></font>
</blockquote><br></FONT>