[R-sig-Geo] FW: Re: Load a map png in ggplot2 (workaround for missing world map support in ggmap)

Bachiller Eneko eneko.bachiller at imr.no
Wed Oct 1 11:30:45 CEST 2014


Hi Roger,
This is the website I was talking about...
https://stat.ethz.ch/pipermail/r-sig-geo/2013-October/019635.html

I guess this is the correct email group for my question. If not please let me know.
Apologizes for any inconvenient and thanks for your suggestion.
All the best,

Eneko

-----Original Message-----
From: Roger Bivand [mailto:Roger.Bivand at nhh.no] 
Sent: Wednesday, October 01, 2014 11:25 AM
To: Bachiller Eneko
Cc: r-sig-geo at r-project.org
Subject: Re: [R-sig-Geo] FW: Re: Load a map png in ggplot2 (workaround for missing world map support in ggmap)

On Wed, 1 Oct 2014, Bachiller Eneko wrote:

> Dear Markus,
>
> I have found the same problem and I would like to know if you found 
> out any solution... I mean, I have some maps (from Surfer) that I 
> would like to import to ggmap. The point would be to be able to import 
> the basemap and georeference that (adjust x/y axes) in order to plot 
> my spatial data there. I guess this is the same question you made in 
> this blog in Oct
> 2013 but I ignore if you solved that...

I don't think anyone here knows what blog, and I don't see a link to it. 
Note that this list is plain text only, and your posting is HTML.

Please consult Oscar Perpigñan's book, in which he explains that what you are trying to do isn't smart, and shows how to use his package rasterVis. 
You need to import the raster file as a georeferenced raster file - guessing where things are may be acceptable for artistic wallpaper, but is no use in analysis.

Hope this helps,

Roger

>
> I would be very grateful if you could help me with some ideas and/or 
> possible alternative options. Thank you very much ended. Kindest 
> regards,
>
> Dr. Eneko Bachiller
> Institute of Marine Research
> Bergen, Norway
>
> 	[[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
>

--
Roger Bivand
Department of Economics, Norwegian School of Economics, Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 91 00
e-mail: Roger.Bivand at nhh.no



More information about the R-sig-Geo mailing list