Skip to content
Prev 4782 / 29559 Next

seamless maps

On 08.01.2009, at 15:05, Roger Bivand wrote:

            
Thanks! I'm just playing with it.
Actually I do need the polygons as well.

A VERY quick&dirty&crude solution would be to pack the wrld_simpl  
polygons three times in a new SpatialPolygons object:

-the original one from -180 to 180
-a transformed one from 180 to 540
-a transformed one from -540 to -180

then by specifying xlim only one should be able to center the map for  
any longitude (to get only that clipping).
But I know it's a crude approach and then if one wants to put  
additional points/lines/etc. on it one has to treble them as well.

But anyway, thanks so much for the hints. If I found a way I'll post it.

--Hans

**********************************************************
Hans-Joerg Bibiko
Max Planck Institute for Evolutionary Anthropology
Department of Linguistics
Deutscher Platz 6     phone:   +49 (0) 341 3550 341
D-04103 Leipzig       fax:     +49 (0) 341 3550 333
Germany               e-mail:  bibiko at eva.mpg.de