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

Ray Brownrigg ray at mcs.vuw.ac.nz
Wed Mar 29 04:26:05 CEST 2006


> 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?
> 
The short answer is RTFM, and now that I have again :-), I note that
there is a wrap= option.  Setting that to TRUE seems to have the
desired effect.

Ray




More information about the R-help mailing list