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 , 12 years ago
Status: | new → assigned |
---|
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
opened an issue in github:
https://github.com/proj4js/proj4js/issues/52