-
-
Notifications
You must be signed in to change notification settings - Fork 983
Open
Labels
PR is more than welcomedExtra attention is neededExtra attention is neededenhancementNew feature or requestNew feature or request
Description
User Story
I would like to render bridge abutments at the first and the last node of a line for OpenTopoMap.

Rationale
- Currently there is no direct way to place an image at the first and/or last node of a line. A workaround is to add points to the vector tile as nodes. However, that adds redundant information. Furthermore, the line-cap image should be rotated according to the angle of the connected line.
- Similarly, Mapnik introduced "vertex-first" and "vertex-last" due to our feature request in 2014: Missing linecap image for LineSymbolizer mapnik/mapnik#2122
- It could be considered as an extension of the option "line-cap": "sprite_image". However, it is preferable to be able to control independently like
"line-cap": "round";
"vertex-first": "sprite_image_1";
"vertex-last": "sprite_image_2";
- It could also be a cool feature to render a sprite image at every node or all but not the end nodes of a line. Syntax could be "vertex-all" and "vertex-inner". Instead of "vertex-*" the scheme could also be "node-*".
Impact
Impact is low, as it just enables a more professional styling for bridges. But there could be also other use-cases where you want to draw something at the end nodes of a line.
Metadata
Metadata
Assignees
Labels
PR is more than welcomedExtra attention is neededExtra attention is neededenhancementNew feature or requestNew feature or request