[R] rnaturalearth: detail by degrees

Jim Lemon drj|m|emon @end|ng |rom gm@||@com
Sun Nov 4 22:41:50 CET 2018


Hi Ferri,
One way is to snip out a Google Maps image of the area you want, then
using the "maps" package, start a plot bounded by the corner
coordinates of your Google Maps image. You can get those by clicking
on the corners of the area that you selected. Then use the
"readbitmap" package to create a raster object of your GM image and
display it on the plot made by "map". Finally, use either "points" or
"lines" to display the coordinates of your path.

Jim

On Sat, Nov 3, 2018 at 8:43 PM Ferri Leberl <ferri.leberl using gmx.at> wrote:
>
>
> Dear all,
> I have the graph of a path, walking a number of places specified by name, logitude and latitude – thanks to Don MacQueen.
> xliam and ylim define a certain section of the earth.
> How can I put this section of a political map into the background?
> Thank you in advance.
> Yours, Ferri
>
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list