Skip to content
Prev 2818 / 29559 Next

Transforming from cartographic to arbitrary local coordinate system

On Mon, 19 Nov 2007, Don MacQueen wrote:

            
The new elide methods in maptools would get you some of the way there, but 
only do 90 degree rotation, not arbitrary rotation. In general, sp classes 
expect north to be upwards, and no provision for other constructions is 
made. If you can find an appropriate PROJ.4 description for what you want, 
spTransform will do it, but the rotation is going to be the problem.

The easiest way in is almost certainly to customise elide() and adding 
trigenometry to do the arbitrary rotation.

Roger