Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 2.26 KB

slides.md

File metadata and controls

37 lines (23 loc) · 2.26 KB

Interact with spatial data in R using mapview and mapedit

author: Jamie Montgomery date: February 4 2020 autosize: true

Motivation

R has become even better at spatial analysis with development of the sf, raster, stars and other packages.

Yes, you can do #geospatial in R! Some popular #rspatial packages: sf, raster, ggplot2. (And there's Python and QGIS too, of course.) #rstudioconf @TinaACormier. pic.twitter.com/KFKzcHhu8H

— Pamela Reynolds (@PLNReynolds) January 30, 2020
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

But what about interacting with my data??


Basic plotting of spatial data, even with `ggplot`, doesn't let you get a feel for what's going on with your spatial data.

I found myself using ArcGIS/QGIS when wanting to zoom in and explore my data.

With mapview this is no longer necessary!

<iframe src="https://giphy.com/embed/12UlfHpF05ielO" width="480" height="273" frameBorder="0" class="giphy-embed" allowFullScreen></iframe>

via GIPHY

...and editing my spatial data??


AKA deleting, adding, editing individual features of a spatial file (usually vectors) is possible with mapedit

I have really only found the need to do this once, for a paper on seaweed aquaculture potential.

All red lines indicating native ranges for seaweed were hand drawn by yours truly using mapedit.