How to interactively position legends and layout elements on a map with cartography

Fiche du document

Date

28 février 2020

Discipline
Types de document
Périmètre
Identifiant
Relations

Ce document est lié à :
info:eu-repo/semantics/reference/issn/2497-6121

Organisation

OpenEdition

Licence

info:eu-repo/semantics/openAccess



Citer ce document

Timothée Giraud, « How to interactively position legends and layout elements on a map with cartography », R Géomatique, ID : 10.58079/tp4k


Métriques


Partage / Export

Résumé 0

In cartography several functions have a pos or legend.pos argument. These arguments can take the following values: "topleft", "top", "topright", "right", "bottomright", "bottom", "bottomleft", "bottomleftextra", "left" or a vector of two coordinates in map units (c(x, y)). The posibility to use a vector of coordinates is useful for placing an element at a precise location: library(sf) library(cartography) mtq - st_read(system.file("gpkg/mtq.gpkg", package="cartography")) png("poslegend1.png...

document thumbnail

Par les mêmes auteurs

Sur les mêmes sujets

Sur les mêmes disciplines

Exporter en