import_template: Import sld template

Description Usage Arguments Details Examples

View source: R/sld.R

Description

Import sld template

Usage

1
import_template(template, ...)

Arguments

template

name of template

...

named arguments

Details

For every named argument, name = value, replace {{ name }} in styles/<template.sld with value.

Examples

1
2
3
4
5
6
7
import_template(
  "outline_with_label",
  name = "mb2018outline", strokeColor = "#000000", strokeWidth = 1,
  maxScale = 600000, geometryName = "geom", labelName = "code",
  fontFamily = "Arial", fonSize = 10, fontStyle = "normal",
  fontWeight = "bold", fontColor = "#000000"
)

cmhh/geoserveR documentation built on Nov. 4, 2019, 8:55 a.m.