<div>You are dead on.&nbsp; He wants his panning to be different based on where he is at.</div>
<div>&nbsp;</div>
<div>I am using the WMS service from Nasa and then I am layering a single tile image when they get to a certain resolution.&nbsp;&nbsp; So basically their API offers me a way to pass in an Upper Left lat/lon and lower right lat/lon and it returns an image.&nbsp; I can pass in projection as well.
</div>
<div>&nbsp;</div>
<div>My map provider is GEX/Digital Globe but their crack at an openlayers&nbsp;solution is not working for me.&nbsp; If I didn&#39;t need markers, line features, and any different resolutions it would work fine as a navigation layer.&nbsp; It is full of bugs.&nbsp; It is not a WMS service but their own layer.&nbsp; They must be in the middle of their merger because they are not very helpful.
<br>&nbsp;</div>
<div>Thanks for the information.&nbsp; It is SOOO helpful.</div>
<div>&nbsp;</div>
<div>Linda Rawson<br>&nbsp;</div>
<div><span class="gmail_quote">On 9/30/07, <b class="gmail_sendername">Christopher Schmidt</b> &lt;<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Sun, Sep 30, 2007 at 01:30:14PM -0600, Linda Rawson wrote:<br>&gt; I think I can get this one but if someone has a formula to help me that
<br>&gt; would be great.<br>&gt;<br>&gt; Basically he uses the panning tool.&nbsp;&nbsp;The north, south, east, west tool.&nbsp;&nbsp;So<br>&gt; when he goes east he does not want to evenly go to the next square.&nbsp;&nbsp;He<br>&gt; wants to go to the next square based on a sphere.&nbsp;&nbsp;If he was on the equator
<br>&gt; then the pixels would be correct.&nbsp;&nbsp;But if he is in say Canada he wants to<br>&gt; panning tool to go to the next square in the sphere.&nbsp;&nbsp;I hope this is making<br>&gt; sense.<br><br>Okay, I think I get it.<br><br>The world is a kinda-spheroid like thing. The default OpenLayers
<br>projection is a lon/lot geographic coordinate system -- this means that<br>50 pixels north is 50 * map.resolution degrees north. However, what<br>number of *meters* that is on the ground is variable, based on where the
<br>lat/lon are.<br><br>So, in order to make the spheroid world a 2D plane, we &#39;project&#39; it. The<br>lon/lat geographic projection is just one option here -- others are, for<br>example, mercator, or peters equal area, etc.
<br><br>It sounds like the person you are talking to wants a projected map.<br>Depending on the type of things this person cares about, this may be<br>easy or hard.<br><br><a href="http://openlayers.org/dev/examples/spherical-mercator.html">
http://openlayers.org/dev/examples/spherical-mercator.html</a> is a<br>set of projected maps. You can see that the WMS service is providing<br>data not according to lat/lon, but according to projected units. To the<br>user, it doesn&#39;t really make any difference, if they don&#39;t see the units
<br>-- they just know that they go up, and as they go up, the amount of<br>latitude/longitude they go up by every time they hit the button is<br>different, instead of the same.<br><br>It&#39;s not really clear to me who &#39;the map providers&#39; are in this case.
<br>Does he or she mean Google? If so, then the sphericalMercator support in<br>2.5 is probably just the kind of thing he is looking for, as it will let<br>you lay images on top of these and tile them properly. If the customer
<br>is talking about some other data provider... well, it&#39;s hard to know<br>what exactly he (or she) means.<br><br>Perhaps with a bit more information about the scenario you are exploring<br>would be helpful here.<br>
<br>&gt; I create the image based on the lat/lon coordinates passed to me with open<br>&gt; layers.&nbsp;&nbsp;The mapping service I use just needs the upper left and lower right<br>&gt; corners to return the images.<br><br>Are you just using one layer? Where is the image coming from? Do you
<br>have a commercial base layer? something else?<br><br>Regards,<br>--<br>Christopher Schmidt<br>MetaCarta<br></blockquote></div><br>