Optimization of vendor-specific rendering of a symbol on a line #1418
Labels
bug
error issue and bug (fix)
documentation
documentation
enhancement
enhancement or improvement
TMC discussion
to be discussed by technical management committee members
WMS
deegree Web Map Service
Milestone
In the process of rewriting the pr #1204, where originally additional rendering code was added, I am now in the process to extend the current implementation of
<PositionPercentage>
to include anchor-point, displacement, perpendicular-offset and better control over fill, stroke and rotation.The current Implementation of deegree for the stroke renderer [1] uses a currently undocumented vendor-specific configuration element
<PositionPercentage>
[2] to configure a position where a single, non-repeated symbol has to be rendered on a line.This feature is currently undocumented [3] and also lacks handling of anchor-point and displacement and also has no way of to rotate a symbol facing to top of the rendered image.
The Current-Implementation [1] sets the color or image paint for the stroking and then implements rendering of SVG's and marks different.
While working on extending the current behavior, the following Questions raised:
PositionPercentage
be kept as it is (keep the xml-schema extension) C or be changed to E where no schema-changes is required (the values of the name attribute of CssParameter or SvgParameter is not checked strongly) ?XML config as reference:
[1] https://github.com/deegree/deegree3/blob/main/deegree-core/deegree-core-rendering-2d/src/main/java/org/deegree/rendering/r2d/Java2DStrokeRenderer.java#L93-L150
[2] https://github.com/deegree/deegree3/blob/main/deegree-core/deegree-core-style/src/main/java/org/deegree/style/se/parser/StrokeSymbologyParser.java#L258-L265
[3] https://download.deegree.org/documentation/3.4.32/html/
The text was updated successfully, but these errors were encountered: