[R-sig-Geo] Google maps/ Blue Marble in R

Oscar Perpiñán Lamigueiro oscar.perpinan at gmail.com
Fri Sep 6 08:58:56 CEST 2013


I am not sure if it fits your problem, but perhaps this example I posted
some months ago is useful for you:
It combines a Stamen map (retrieved with the ggmap or OpenStreetMap
packages) with an SpatialPointsDataFrame displayed with spplot.

Could you send a sample of your data to give you a better answer?



Oscar Perpiñán Lamigueiro
Grupo de Sistemas Fotovoltaicos (IES-UPM)
Dpto. Ingeniería Eléctrica (EUITI-UPM)
URL: http://http://oscarperpinan.github.io
Twitter: @oscarperpinan

zuzana zajkova writes:

> Hi,
> I would like to ask some questions... My aim is produce nice maps of
> distribution (kernels) of my studied species. So far I have been using
> "rworldmap" to get general view, but for presentation I would like to make
> the maps more beautiful :)
> I was able to get the Google maps (using "dismo" package) and create a map,
> but I am not able to add axes and legend to this map, what makes it quite
> useless as a map... Any suggestions?
> library(dismo)
> e <- extent( -60 , -10 , 0 , 40 )  ## extent (long, long, lat, lat)
> r <- gmap(e, type="satellite", scale=2)
> plot(r, interpolate=TRUE)
> Other thing is that I am open to use any other map as a background
> (preferably with topografhy and bathymetry), for example does anyone know
> if it is possible to use "Blue Marble" map for this?
> Thank you in advance for your suggestions.
> Zuzana
> 	[[alternative HTML version deleted]]
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

More information about the R-sig-Geo mailing list