<br><br><div class="gmail_quote">2010/7/8 Etienne Chové <span dir="ltr"><<a href="mailto:chove@crans.org" target="_blank">chove@crans.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Le 07/07/2010 23:06, Vincent Pottier a écrit :<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Tu as essayé avec le bouton "permalien" ?<br>
</blockquote><div>
Ben justement le format n'est pas LatLon :<br>
<a href="http://www.qualitystreetmap.org/osmqa/?map_x=672608.34682047&map_y=5982821.2193476&map_zoom=13&...&lang=fr" target="_blank">http://www.qualitystreetmap.org/osmqa/?map_x=672608.34682047&map_y=5982821.2193476&map_zoom=13&...&lang=fr</a><br>
</div></blockquote>
<br>
C'est quoi comme coordonnées d'ailleurs ça ? On doit bien pouvoir le transformer en lat/lon.<br></blockquote><div><br></div><div>En effet, c'est du epsg:900913 (aka web spherical mercator) ... OpenLayers se debrouille très bien avec ça.</div>
<div>Ex: en faisant ll.transform(new OpenLayers.Projection(EPSG:4326), new OpenLayers.Projection(EPSG:900913)) ... ou ll est un objet de type OpenLayers.LonLat, on convertit une position depuis wgs84 vers mercator sph. </div>
<div><br></div><div>Pour les curieux, les formules se trouvent là dedans : <a href="http://svn.openlayers.org/trunk/openlayers/lib/OpenLayers/Layer/SphericalMercator.js">http://svn.openlayers.org/trunk/openlayers/lib/OpenLayers/Layer/SphericalMercator.js</a></div>
<div><br></div></div><div>F.</div>