3 Commits

Author SHA1 Message Date
roya0045
57e25ca19e proposal tags
made with https://gist.github.com/roya0045/eaa19acabe1033569f97b40604b7e6df
2022-01-07 08:33:29 -05:00
Nyall Dawson
c94c74127c Document that function accepts polygons, add test 2021-10-30 18:18:03 +11:00
Nyall Dawson
8ce33e1e08 [feature][expressions] Add new apply_dash_pattern function.
Applies a dash pattern to a geometry, returning a MultiLineStringi
geometry which is the input geometry stroked along each line/ring
with the specified pattern.

Rules can be set to control how the dash pattern is adjusted
at line endings. If a start rule or end rule is set, the adjustment
option defines whether both dash and gaps, or only dash or gap
sizes are adjusted to apply the rules.

An optional pattern offset can specify how far along the pattern
the result should start at.
(The offset is applied AFTER any start/end rules are applied.)

Sponsored by North Road, thanks to SLYR
2021-10-30 18:18:03 +11:00