[R-sig-Geo] Reducing the size of the R-produced maps while saving
Roger Bivand
Roger.Bivand at nhh.no
Tue Jan 31 22:05:54 CET 2012
On Tue, 31 Jan 2012, Dimitri Liakhovitski wrote:
> Dear map-gurus,
>
> I am creating some country maps using spplot from library(raster).
> Once I've created a map, I save it as an .emf file. .emf format is
> important for me because I can have transparent background.
> However, once the map is saved, I am getting a huge .emf file (e.g., 74 MB).
> Is there any way to save it in a smaller size?
If you have to use a vector output format, then you should simplify the
input, which has extremely detailed coastlines but coarser resolution
administrative boundaries. Maybe try gSimplify() in rgeos.
Roger
>
> Thanks a lot!
>
>
--
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo
mailing list