[OpenLayers-Dev] Patch for Proj4js gauss projection

Martijn van Oosterhout kleptog at gmail.com
Sat Jan 26 14:30:45 EST 2008


Hi,

While attempting to use EPSG:28992 with proj4js I noticed it was
returning complete garbage. A bit of tracing revealed it was due to
the gauss.js code assuming it got and returned points in degrees,
whereas the caller and the rest of the code assumed radians. The
following patch fixed the problem for me.

Thanks in advance,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proj-gauss.patch
Type: text/x-patch
Size: 858 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20080126/edd4b285/proj-gauss.bin


More information about the Dev mailing list