[OpenLayers-Dev] Patch for Proj4js gauss projection

Andreas Hocevar andreas.hocevar at gmail.com
Mon Jan 28 09:50:12 EST 2008


Mike,

did you make any progress on the tmerc (non-wgs84) -> spherical mecator 
reprojection this weekend?

Regards,
Andreas.

Mike Adair wrote:
> Martin,
>
> Yes that was an issue in the gauss code and the fix is now committed to 
> the proj4js svn. 
>
> Developers should be aware that not all of the projection class code has 
> been verified/tested/validated yet.  I am working on completing that as 
> time permits and the need arises.
>
> For the record, as of today, the following projection classes work (or 
> should work).  These are the 'proj=' parameter in the proj 
> initialization string: utm, lcc, tmerc, merc, stere, gauss, sterea, aea.
> And the following classes are not validated yet: aeqd, eqdc, equi, laea, 
> mill, moll, omerc, ortho, poly, sinu, vandg
>
> Mike
>
>
> Martijn van Oosterhout wrote:
>   
>> 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,
>>   
>>     
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>   




More information about the Dev mailing list