Major ggspatial updates

by on March 28, 2017

I took the day to update ggspatial an old R project that was never published to CRAN. The idea is to create ggplot layer() calls from sp Spatial* objects using a consistent interface. Last year I wrote a blog post about how that might work, and while the usage hasn’t changed much, the implementation is […]

Holes in ggplot polygons

by on July 13, 2016

As part of my efforts to construct an R package connecting ggplot and Spatial objects, I came across an issue with ggplot involving holes in polygons. According to the collective knowledge of StackOverflow, it’s possible to make this happen by putting the coordinates in the correct clockwise/counterclockwise order, extending geom_polygon() somehow, or other really complicated […]

Spatial data in ggplot2

by on July 12, 2016

I recently figured out how to use the ggplot2 framework to plot raster data, which led me to write a package extending ggplot2 for more convenient spatial data geometries. Ever wanted a geom_spatial() for those SpatialPolygonsDataFrames and RasterBricks you’ve got kicking around? Well…maybe you did or didn’t, but the ggspatial package is now here for […]

WP Facebook Like Send & Open Graph Meta powered by TutsKid.com.