ggpolypath icon indicating copy to clipboard operation
ggpolypath copied to clipboard

Deprecate appropriately

Open mdsumner opened this issue 6 years ago • 1 comments

https://github.com/tidyverse/ggplot2/pull/3128

Update the hole story too, will be a nice link to mesh_plot speed

mdsumner avatar Feb 11 '19 12:02 mdsumner

Here's how it works in R3.6.0, you can't use MULTIPOLYGON

 iw <- sf::read_sf(system.file("extdata", "inlandwaters.gpkg", package = "polyggon"))
 ggplot(spbabel::sptable(sf::st_cast(iw, "POLYGON")) %>% 
    dplyr::mutate(sg = paste(object_, branch_, sep = "_")), 
   aes(x_, y_, fill = object_, group = object_, subgroup = sg)) + 
  geom_polygon()

image

mdsumner avatar Feb 18 '19 22:02 mdsumner