Hi,
<br><br>it seems to work.
<br>But e.g. converting from 4326 to 31466 is very naccurately
<br>&lt;<a href="http://dict.leo.org/ende?lp=ende&p=5tY9AA&search=inaccurately" target="_top" rel="nofollow">http://dict.leo.org/ende?lp=ende&p=5tY9AA&search=inaccurately</a>&gt; naccurately.
<br>There a difference of 10-100 meters!!
<br>??????????????????
<br><br>Greetings
<br><br>Byte
<br><br><br>Tobias Wendorff (via Nabble) schrieb:
<div class='shrinkable-quote'><br>&gt; Bytechanger schrieb:
<br>&gt; &gt; MsgBox shows source coordinates .... no convert!
<br>&gt;
<br>&gt; Download proj4js and include it:
<br>&gt;
<br>&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;../proj4js/lib/proj4js.js&quot;&gt;&lt;/script&gt;
<br>&gt; &lt;script type=&quot;text/javascript&quot;
<br>&gt; src=&quot;../proj4js/lib/projCode/merc.js&quot;&gt;&lt;/script&gt;
<br>&gt; &lt;script type=&quot;text/javascript&quot;
<br>&gt; src=&quot;../proj4js/lib/projCode/tmerc.js&quot;&gt;&lt;/script&gt;
<br>&gt;
<br>&gt; Then define everthing:
<br>&gt; Proj4js.defs['EPSG:4326'] = '+proj=longlat +ellps=WGS84 +datum=WGS84
<br>&gt; +nadgrids=@null +no_defs';
<br>&gt;
<br>&gt; Proj4js.defs['EPSG:900913']= '+proj=merc +a=6378137 +b=6378137
<br>&gt; +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null
<br>&gt; +no_defs';
<br>&gt;
<br>&gt; Proj4js.defs['EPSG:31466'] = '+proj=tmerc +lat_0=0 +lon_0=6 +k=1.000000
<br>&gt; +x_0=2500000 +y_0=0 +ellps=bessel +units=m +nadgrids=@null +no_defs';
<br>&gt;
<br>&gt; Okay, you don't need 909913 and merc, I think ... but I like to
<br>&gt; have control about these settings.
<br>&gt;
<br>&gt; _______________________________________________
<br>&gt; Users mailing list
<br>&gt; [hidden email]
<br>&gt; &lt;<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3788136&i=0" target="_top" rel="nofollow">http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3788136&i=0</a>&gt;
<br>&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_top" rel="nofollow">http://openlayers.org/mailman/listinfo/users</a><br>&gt;
<br>&gt;
<br>&gt; ------------------------------------------------------------------------
<br>&gt; View message @
<br>&gt; <a href="http://n2.nabble.com/Convert-Coordinates-EPSG-4326-to-31466-doesn-t-work-tp3787906p3788136.html" target="_top" rel="nofollow">http://n2.nabble.com/Convert-Coordinates-EPSG-4326-to-31466-doesn-t-work-tp3787906p3788136.html</a><br>&gt;
<br>&gt; To unsubscribe from Convert Coordinates EPSG:4326 to 31466 doesn?t
<br>&gt; work ??, click here
<br>&gt; &lt;<a target="_top" rel="nofollow">&lt;Link Removed&gt;</a>&gt;.
<br>&gt;
<br>&gt;
</div><br>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Convert-Coordinates-EPSG-4326-to-31466-doesn-t-work-tp3787906p3793412.html">Re: [OpenLayers-Users] Convert Coordinates EPSG:4326 to 31466 doesn?t work ??</a><br>
Sent from the <a href="http://n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br>