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