Colored Pencil Maps with R

Metadatas

Date

May 23, 2018

Discipline
Language
Identifier
Collection

R Géomatique

Organization

OpenEdition



Cite this document

Timothée Giraud, « Colored Pencil Maps with R », R Géomatique, ID : 10670/1.v2t2ma


Metrics


Share / Export

Abstract 0

This post shows how to build a colored pencil map with R. The cartography package (in its development version) has gained a getPencilLayer() function that transforms a POLYGON or MULTIPOLYGON layer into a MULTILINESTRING layer mimicking a pencil drawing pattern. The following code details how to use the function: #download the dev version of cartography devtools::install_github("riatelab/cartography") library(cartography) library(sf) # import a vector layer (here a shapefile) mtq - st_read(...

From the same authors

On the same subjects

Similar documents

Within the same disciplines