Chris:<div><br></div><div>I had a similar issue, it was suggested to me to add "+over" to my epsg definitions file.</div><div><br></div><div>Mine now looks like:</div><div><4326> +proj=longlat +ellps=WGS84 +datum=WGS84 +over +no_defs <></div>
<div><900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +over +no_defs <><br><br>That seemed to make a difference, but I also upgraded PROJ4 at the same time.</div>
<div><br>Jerl<br><br><div class="gmail_quote">On Wed, Feb 1, 2012 at 5:38 AM, Chris Green <span dir="ltr"><<a href="mailto:chris.green@ibstv.co.uk">chris.green@ibstv.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal">I have a problem that may be down to OpenLayers or to Mapserver, or (just as likely) to me. Basically I am using OL to request WMS maps from Mapserver, and the map consists of point features with a global spread, typically around 100 points in each map. The points are defined in a table which has lat/lon in decimal degrees, and these are converted to 900913 by Mapserver where my mapfile has an overall projection of epsg: 900913 but the points layer has projection epsg: 4326.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The map is defined in OL with extents: <span style="font-size:10.0pt">-</span>20037508.34, -20037508.34, 20037508.34, 20037508.34 and the mapfile has the same extents applied.<span style="font-size:10.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p><p class="MsoNormal">This all works fine when a map is first displayed, all of the points are present on the map. However when I scroll the map left or right there is a ‘dead spot’ where all the points in North America disappear and then re-appear, either side of the dead spot. Looking with Firebug at the bounding box that OL uses to request the map from Mapserver I can see that the points disappear when the bounding box is between left bounds of about -23700000 and -33700000. Only the points in North America are affected, never those in Europe or Asia. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have been wrestling with this for quite a while, experimenting with extents etc, all without any effect. Does anyone recognise where my problem may lie, or else have any suggestions how to diagnose what is going on?<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p>
<span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Chris <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div><br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>A computer without Windows is like chocolate cake without mustard.<br>
</div>