I've been searching for a while to no avail, please help. I'm able to draw a simple world map using a shapefile (and do a lot more, draw lines, fill with colors, etc).
The source of shapefile is:
http://thematicmapping.org/downloads/world_borders.php
This is a simple example:
library(rgdal)
world <- readOGR("Z:/data/borders","TM_WORLD_BORDERS-0.3")
par(mar=c(0,0,0,0))
plot(world)
However, the shape is quite different to what google map looks like. I suspect that it has something to do with projection, and I've been trying to adjust it but to no avail. So what I would like to do is to get my map to match the outlines of google projection (not the other way around).
The reason I need it is because I have a raster image layer that is based on google maps projection that I need to overlay on top of my map.
Your help would be really appreciated,
many thanks,
Alex