[R-sig-Geo] Plotting simple features sf with ggplot2
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Wed Dec 7 18:21:23 CET 2016
On 07/12/16 17:49, Manuel Spínola wrote:
> Dear list members,
>
> Is there a way to plot a simple features (sf) multipolygon (imported
> shapefile) using ggplot2?
Short answer is: not yet, I'm waiting for some help on this.
There has been quite some discussion about this issue here:
https://github.com/edzer/sfr/issues/88
>
> Similar to plotting a SpatialPolygonDataFrame with ggplot2 using the
> function fortify first to convert the SPDF to a data frame.
>
I think there is now a majority opinion that fortify is not such a good
idea for simple feature (or in general: spatial) geometries.
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 33081
Journal of Statistical Software: http://www.jstatsoft.org/
Computers & Geosciences: http://elsevier.com/locate/cageo/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20161207/4cfefc1e/attachment.bin>
More information about the R-sig-Geo
mailing list