Open pvgenuchten opened 4 years ago
I think this is a limitation of SLD. I could not find any docs or example about how to add several symbol layers for a line marker. Maybe @jodygarnett can confirm that. For now, the styler library just takes the first one of the symbol layers and ignore the rest
Checking the code, I see that I had already found a solution for that, by adding multiple line symbolizers, one for each symbol layer. However, there was an error in the code that prevented that solution to be applied. Should be working now
Yes this could work, however currently the positioning of the 2 marks is a bit off, probably because they have different size, which would require different margins?
my impression is that: (sym A size + sym A dash) should be the same as (sym B size + sym B dash) B offset should be (0.5sym A size + sym A dash)+0.5sym b size
right, there is some offset. Not sure how to easily fix that. One of the symbol layers should be taken as the reference, and move the other ones according to its size...
On a multilayered line marker, only the first symbol layer is included in sld, i'm not sure if the multilayered line marker case is available in terms of sld spec, or implemented as such in geoserver
geostyler:
SLD
double-layered-line-marker.qgz.zip