GMS:CPP: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
(No difference)

Revision as of 19:07, 13 July 2009

A CPP (Carte Parallelo-Grammatique Projection) system is a local system. The origin of the system must be defined in latitude/longitude decimal degrees.

The conversion from of a point from latitude/longitude to CPP is:

newpointx = R * (pointlongitude - originlongitude) * cos(originlatitude) newpointy = pointlatitude * R

The conversion of a point from CPP to latitude/longitude is:

newpointlongitude = originlongitude + pointx / (R * cos(originlatitude)) newpointlatitude = pointy / R

R = 6378206.4 m. (Clarke 1866 major spheroid radius)