[MetaCRS] Translation WGS84 to Mercator
madair at dmsolutions.ca
Mon Nov 29 13:35:13 EST 2010
Please create a ticket for this in the Proj4js Trac system
(http://trac.osgeo.org/proj4js/) and I'll have a look at implementing it.
On 23/11/2010 11:06 AM, Frank Warmerdam wrote:
> Косолапов Глеб wrote:
>> Hi, everyone from Russia!
>> I'm using proj4js with OpenLaerys. I must translate WGS84 to Mercator
>> (EPSG:3395, for example).
>> My country lies through 180th meridian (antimeridian). So, in WGS84
>> this territory ends near 190 longitude. And everything works fine.
>> But when I transform 190 lat to Mercator, I get negative value
>> -18924313.434856504. That's very bad for every operation with
>> Mercator coordinates in OpenLayers.
>> Please, help me how to transform 190 lat to positive Mercator using
> PROJ.4 has the +over flag which avoids normalizing the longitude to -180
> to 180 before the transformation is done. Perhaps this should be
> in proj4js as well?
> Best regards,
More information about the MetaCRS