Opened 12 years ago

Closed 11 years ago

#87 closed enhancement (fixed)

support eck6 projections

Reported by: gbrauen Owned by: madair
Priority: major Milestone: 1.1.1
Component: core Version: trunk
Keywords: Cc:

Description

Support eck6 projection class.

I'll add a patch that implements this support.

Note that eck6 is defined as a special case of sinu in proj4 and I've maintained that structure with this patch. This enhancement is then dependent on http://trac.osgeo.org/proj4js/ticket/86 which details problems in the handling of spherical datums by the sinu class.

The attached patch is cumulative, containing the changes done to make spherical sinu work properly, along with the changes to implement and test eck6 (forcing spherical handling in all cases, consistent with proj4).

Attachments (1)

proj4js_r2314_eck6_support.diff (7.2 KB ) - added by gbrauen 12 years ago.

Download all attachments as: .zip

Change History (4)

by gbrauen, 12 years ago

comment:1 by gbrauen, 12 years ago

Note that the above patch provides results that match proj4 command line (see test/testdata.js for tests included) as long as projections that are explicitly based on spheroids include the "+datum=none" pair in the proj description as described in

http://trac.osgeo.org/proj4js/ticket/86 (concerning sinu)

See EPSG:53010 in testdata.js.

Without "+datum=none", proj4js transforms coordinate pairs prior to running the projection code. This does not seem consistent with proj4 behaviour which rejects the "+datum=none" parameter if you (accidentally) include it.

comment:2 by madair, 12 years ago

Status: newassigned

comment:3 by madair, 11 years ago

Resolution: fixed
Status: assignedclosed

opened issue in github as https://github.com/proj4js/proj4js/issues/54

will be fixed there.

Note: See TracTickets for help on using tickets.