VendorOption markAlongLine - ExernalGraphics for LineSymbolizer

Description

A new way of using WKT markers for LineSymbolizers is proposed, in which instead of using the WKT shape as an image, it will be used as a stroke. This option can be enabled by adding a vendor option tag <VendorOption name="markAlongLine">true</VendorOption> alongside <WellKnownName> tag inside <Mark>…</Mark>.

<LineSymbolizer>
<Stroke>
<GraphicStroke>
<Graphic>
<Mark>
<WellKnownName>wkt://LINESTRING (0 0, 0 -0.5, 0.5 -0.5, 0.5 0.5, 1 0.5, 1 0)</WellKnownName>
<Stroke>
<CssParameter name="stroke">0xFF0000
</CssParameter>
<CssParameter name="stroke-width">2</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
</Stroke>
</Mark>
<Size>20</Size>
</Graphic>
</GraphicStroke>
</Stroke>
<VendorOption name="markAlongLine">true</VendorOption>

</LineSymbolizer>

Environment

None

Status

Assignee

Imran Rajjad

Reporter

Imran Rajjad

Triage

Components

Fix versions

Affects versions

Priority

Medium
Configure