Martin,<br><br>Usually it is enough to have just one extra pixel around the source pixel while warping. But for the events like this case, we have the option to set it.<br><br><div class="gmail_quote">On Tue, Mar 20, 2012 at 1:07 AM, Martin Chapman <span dir="ltr">&lt;<a href="mailto:chapmanm@pixia.com">chapmanm@pixia.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Chaitanya,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Thank you very much for your response.  The problem seems to be with the default </span><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">SOURCE_EXTRA parameter</span><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> of the GDALWarpOptions being defaulted to 1.  When I up that number everything works fine.  I think the default for that value should be larger.  What do you think?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Marty</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Chaitanya kumar CH [mailto:<a href="mailto:chaitanya.ch@gmail.com" target="_blank">chaitanya.ch@gmail.com</a>] <br>
<b>Sent:</b> Monday, March 19, 2012 1:00 PM<br><b>To:</b> Martin Chapman<br><b>Cc:</b> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br><b>Subject:</b> Re: [gdal-dev] GdalWarp issue<u></u><u></u></span></p>
<div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">Martin,<br><br>Change the resampling method and/or change the SAMPLE_STEPS warp option.<u></u><u></u></p><div>
<p class="MsoNormal">On Tue, Mar 20, 2012 at 12:12 AM, Martin Chapman &lt;<a href="mailto:chapmanm@pixia.com" target="_blank">chapmanm@pixia.com</a>&gt; wrote:<u></u><u></u></p><div><div><p class="MsoNormal">All,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Please see the attached sub-region screen capture of an image I created using gdalwarp 1.9.  I used MS Paint to highlight in red several columns of pixels that repeat a pattern from left to right across the image (vertically only) where the pixels are the same color for both pixel columns when in fact they should be different.  The problem seems to occur whether I am going from source wkt (wgs84 in this case) to the same coord system or if I go from wgs84 to another coord system.   It only seems to happen when the source image is in WGS84 though.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Any help is much appreciated.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Best regards,<u></u><u></u></p><p class="MsoNormal">
Martin<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal"><br>_______________________________________________<br>gdal-dev mailing list<br><a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">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><u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
<br><a href="tel:%2B91-9494447584" value="+919494447584" target="_blank">+91-9494447584</a><br>17.2416N 80.1426E<u></u><u></u></p></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>
Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>