[R] bug in map('world') ?

Ray Brownrigg ray at mcs.vuw.ac.nz
Wed Mar 8 20:40:15 CET 2006


I seem to recall I came across something similar recently (well,
relatively recently, perhaps a couple of years ago).  The problem is
related to how the code handles polygons that are split across the map
boundaries.  As I recall, the fix was to modify the polygons that
straddle the date line.  I'll have to delve into this again, but don't
hold your breath, sorry.

Ray Brownrigg

> From: Joerg van den Hoff <j.van_den_hoff at fz-rossendorf.de>
> 
> hi,
> 
> did'nt see anything in the archive:
> 
> map('world',pro='rectangular',para=0)
> 
> yields a strange artifact (horizontal bar) extending over the whole map 
> at a certain latitude range (approx 65 deg. north), whereas
> 
> map('world',pro='rectangular',para=180)
> 
> (which should be the same) does not show the artifact.
> 
> the artifact shows up in other projections as well, e.g.
> 
> map('world',pro='bonne',para=45)
> 
> 
> which seems to show that the problem might be in the data base of the 
> map (i.e. polygon definition)??
> 
> 
> any ideas?
> 
> regards,
> 
> joerg




More information about the R-help mailing list