Hi,
<br><br>it seems to work.
<br>But e.g. converting from 4326 to 31466 is very naccurately
<br><<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>> 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>> Bytechanger schrieb:
<br>> > MsgBox shows source coordinates .... no convert!
<br>>
<br>> Download proj4js and include it:
<br>>
<br>> <script type="text/javascript" src="../proj4js/lib/proj4js.js"></script>
<br>> <script type="text/javascript"
<br>> src="../proj4js/lib/projCode/merc.js"></script>
<br>> <script type="text/javascript"
<br>> src="../proj4js/lib/projCode/tmerc.js"></script>
<br>>
<br>> Then define everthing:
<br>> Proj4js.defs['EPSG:4326'] = '+proj=longlat +ellps=WGS84 +datum=WGS84
<br>> +nadgrids=@null +no_defs';
<br>>
<br>> Proj4js.defs['EPSG:900913']= '+proj=merc +a=6378137 +b=6378137
<br>> +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null
<br>> +no_defs';
<br>>
<br>> Proj4js.defs['EPSG:31466'] = '+proj=tmerc +lat_0=0 +lon_0=6 +k=1.000000
<br>> +x_0=2500000 +y_0=0 +ellps=bessel +units=m +nadgrids=@null +no_defs';
<br>>
<br>> Okay, you don't need 909913 and merc, I think ... but I like to
<br>> have control about these settings.
<br>>
<br>> _______________________________________________
<br>> Users mailing list
<br>> [hidden email]
<br>> <<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>>
<br>> <a href="http://openlayers.org/mailman/listinfo/users" target="_top" rel="nofollow">http://openlayers.org/mailman/listinfo/users</a><br>>
<br>>
<br>> ------------------------------------------------------------------------
<br>> View message @
<br>> <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>>
<br>> To unsubscribe from Convert Coordinates EPSG:4326 to 31466 doesn?t
<br>> work ??, click here
<br>> <<a target="_top" rel="nofollow"><Link Removed></a>>.
<br>>
<br>>
</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>