23 mai 2018
Ce document est lié à :
info:eu-repo/semantics/reference/issn/2497-6121
info:eu-repo/semantics/openAccess
Timothée Giraud, « Colored Pencil Maps with R », R Géomatique, ID : 10.58079/tp4c
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...