Skip to content

Commit

Permalink
some minor modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Pakillo committed Mar 1, 2017
1 parent 507648a commit 97549e3
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 36 deletions.
42 changes: 39 additions & 3 deletions RasGIS.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: "GIS with R: slides for the unconverted"
author: "F. Rodriguez-Sanchez (@frod_san)"
date: "November 2016"
output:
ioslides_presentation:
fig_height: 3
Expand Down Expand Up @@ -107,6 +106,16 @@ http://science.sciencemag.org/content/suppl/2016/09/28/353.6307.1532.DC1



## Made in R

```{r echo=FALSE, out.width = "640px", out.height = "400px"}
include_graphics("images/cartography.png")
```

https://cran.r-project.org/package=cartography



# And it's very easy!

## Map occurrences in 2 lines of code
Expand Down Expand Up @@ -199,17 +208,25 @@ ggmap(map) +

## Download elevation data

```{r}
```{r out.width = "640px", out.height = "400px"}
elevation <- getData("alt", country = "ESP")
plot(elevation)
```


```{r echo=FALSE, eval=FALSE, out.width = "640px", out.height = "480px"}
## Using rasterVis

```{r echo=TRUE, eval=FALSE, out.width = "640px", out.height = "480px"}
library(rasterVis)
levelplot(elevation)
```

```{r echo=FALSE, out.width = "600px", out.height = "400px"}
include_graphics("images/rastervis.png")
```




## Dynamic interactive maps (leaflet)

Expand All @@ -224,6 +241,10 @@ mapView(occs)

![](images/rstoolbox.png)

http://bleutner.github.io/RStoolbox/

And many more packages! (MODIS, Landsat, LiDAR...)


## Why doing GIS in R

Expand Down Expand Up @@ -267,7 +288,22 @@ include_graphics("images/R_ArcGis.png")

- http://www.nickeubank.com/gis-in-r/

- http://www.rspatial.org/

- http://book.ecosens.org/

- [Spatial R cheatsheet](https://github.com/wegmann/RSdocs/blob/master/RSecology_cheatsheet/RS_ecology_refcard.pdf)

- etc



-----


![](images/CC-BY-NC-SA_logo.png)

Slides and source code available at https://github.com/Pakillo/GISwithR



93 changes: 60 additions & 33 deletions RasGIS.html

Large diffs are not rendered by default.

Binary file added images/cartography.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/rastervis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 97549e3

Please sign in to comment.