Skip to content
Prev 16665 / 29559 Next

Lines crossing Mercator projection map

On Mon, 12 Nov 2012, Giuseppe Bianco wrote:

            
You need to provide the version of rgeos you are using - from 
sessionInfo(), and the messages printed when rgeos is loaded. For me with
rgeos: (SVN revision 360)
  GEOS runtime version: 3.3.5-CAPI-1.7.5
  Polygon checking: TRUE

and:
R version 2.15.2 (2012-10-26)
Platform: x86_64-unknown-linux-gnu (64-bit)
...
other attached packages:
[1] rgeos_0.2-9     rgdal_0.7-22    maptools_0.8-20 lattice_0.20-10
[5] sp_1.0-2        foreign_0.8-51

there is no problem.
On the same system, I also see this, but it isn't the cause of your 
problem. Please also stop posting HTML, it is being stripped anyway, so 
post plain text only, as the list instructions require.

Roger

PS: If you need the countries, use:

wrld.clip <- gIntersection(clipPoly, wrld_simpl, byid=TRUE)
row.names(wrld.clip)

shows the IDs.