<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Jim,<br><br>proj.4 (cs2cs) has a parameter to force lat long coords into a +-180 or 0-360 space by specifying the output central meridian.<br><br>From the proj.4 changelog:<br><span style="font-style: italic;">2006-10-12&nbsp; Frank Warmerdam&nbsp; &lt;warmerdam@pobox.com&gt;</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp; * Added experimental +lon_wrap argument to set a "center point" for </span><br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp; longitude wrapping of longitude values coming out of pj_transform().</span><br><br>This defaults to zero, for +-180 but can also be set to 180 for 0-360. I don't know if you can do the same with GDAL.<br><br>You also have the option of cropping the dataset to generate two images, one each side of the
 dateline, and the one in the western hemisphere can be assigned coords in the +-180 or 0-360 space as you see fit to render correctly in your application.<br><br>I have done this routinely with MODIS imagery.<br><br>Cheers,<br><br>&nbsp; Brent Wood<br><br>--- On <b>Thu, 9/1/11, Jim Bellenger <i>&lt;bellengj@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Jim Bellenger &lt;bellengj@gmail.com&gt;<br>Subject: [gdal-dev] What are the arguments to gdalwarp to cross the date line?<br>To: gdal-dev@lists.osgeo.org<br>Date: Thursday, September 1, 2011, 6:55 AM<br><br><div id="yiv1120749220"><div>Hello,</div>
<div>&nbsp;</div>
<div>I have a Lambert Conformal Conic image that crosses the 180 dateline and&nbsp;I want to gdalwarp to a latlong projection.&nbsp; The result image&nbsp;wraps around the globe instead of just crossing the dateline.&nbsp; It seems to be a problem with the western hemisphere because I have tried a "-te" option with both hemispheres and the eastern (positive longitude) hemisphere works fine but not the western hemisphere (negative longitude) always wraps around the globe.&nbsp; I have tried a +over and +lon_wrap=180 arguments with no success.</div>

<div>&nbsp;</div>
<div>Jim</div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>gdal-dev mailing list<br><a ymailto="mailto:gdal-dev@lists.osgeo.org" href="/mc/compose?to=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></div></blockquote></td></tr></table>