CPP Coordinate System
From XMS Wiki
Jump to navigationJump to search
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)