<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 2, 2013 at 8:37 AM, Howard Butler <span dir="ltr"><<a href="mailto:hobu.inc@gmail.com" target="_blank">hobu.inc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im"><br>
On Jan 2, 2013, at 8:41 AM, Jan Hartmann <<a href="mailto:j.l.h.hartmann@uva.nl">j.l.h.hartmann@uva.nl</a>> wrote:<br>
<br>
> Hi Howard,<br>
><br>
> This is a problem, as OpenLayers looks by default to <a href="http://spatialreference.org" target="_blank">spatialreference.org</a> when a projection has not been explicitly defined in the javascript code. This happens for example with the "displayProjection" item in the map controls. You get the wrong coordinates without being told that someting isn't right.<br>
<br>
</div>That seems like a rather fragile way of OpenLayers (OpenLayers does reprojection now, or is this still proj.js?) to engineer things, especially considering <a href="http://sr.org" target="_blank">sr.org</a>'s sometimes spotty uptime...<br>
</blockquote><div><br></div><div>I argued that the automatic lookup of coordinate systems parameters should be a separate optional module as opposed to the default behavior as it is now. Including your own definitions was always my intention. I've never liked the idea of an automatic lookup because the user doesn't know what they are getting, not to mention the additional dependencies and associated performance hits.<br>
<br></div><div>Having said all that, if the default behavior is to do a lookup on <a href="http://spatialreference.org" target="_blank">spatialreference.org</a>, it would be nice if <a href="http://spatialreference.org" target="_blank">spatialreference.org</a> provided definitions that were optimized for web/javascript use, i.e. did not require client-side lookup tables for things like named meridians, ellipsoids, etc.<br>
<br></div><div>Best wishes for the new year,<br>Rich<br></div><div><br> </div></div>Richard Greenwood<br><a href="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</a><br><a href="http://www.greenwoodmap.com">www.greenwoodmap.com</a>
</div></div>