Opened 12 years ago

Closed 11 years ago

#83 closed defect (fixed)

Mercator with lat_ts

Reported by: yjq88d Owned by: madair
Priority: major Milestone: 1.1.0
Component: core Version: trunk
Keywords: Cc:

Description

I think there is an error in transformation from WGS84 geographical to a mercator projection with setting lat_ts parameter.

Proj4js.defs["EPSG:70212"]="+proj=merc +lon_0=0 +lat_ts=54 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs";
var src = new Proj4js.Proj('EPSG:4326');
var dest = new Proj4js.Proj('EPSG:70212');

var point = new Proj4js.Point(8.4166666666,54.3);
Proj4js.transform(src, dest, point);

The calculated result with proj4js is: x=550727.0313354909 y=4227680.065624116

By using cs2cs or http://cs2cs.mygeodata.eu/ I get the following results: x=551929.429093 y=4236910.32443

Change History (2)

comment:1 by madair, 12 years ago

Status: newassigned

comment:2 by madair, 11 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.