[MetaCRS] Proj4js MGRS conversion Geodectic

Toph toph_vt-web at yahoo.com
Tue Feb 5 12:24:38 PST 2013


I'm trying to convert MGRS to WGS 84 Geodetic Output Coordinate System.  The example in the test\mgrs.js works like I expect.  Some MGRS don't provide the values I expect.  Am I missing something?  

Thanks Chris
========================================================================

If I use Geotrans, for MGRS "33UVP0500444998", I get 16.41449 for Lon and 48.24949 Lat.  

If I use Proj4js.Point.fromMGRS("33UVP0500444998"), I get point.x.toPrecision(7) = 16.41449 and point.y.toPrecision(7) = 48.24949

=========================================================================


If I use Geotrans, for MGRS "42SWC5522406275", I get  for Lon 69.59450 and  Lat. 33.49458  

If
 I use Proj4js.Point.fromMGRS("42SWC5522406275"), I get 
point.x.toPrecision(7) =  69.90387 and point.y.toPrecision(7) = -56.78416
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/metacrs/attachments/20130205/f9cba212/attachment.html>


More information about the MetaCRS mailing list