Hi,
I need to put labels on both sides of lines, the same thing like this post:
https://gis.stackexchange.com/questions/153117/geoserver-sld-line-ends-labeling
<https://gis.stackexchange.com/questions/153117/geoserver-sld-line-ends-labeling>
But I need to do that in CSS. I've tried the following but failed, the labels
appear only once at lines end:
* {
stroke: #333333;
stroke-width: 3px;
label: [label];
font-fill: black;
label-geometry: [endPoint(geometry)];
:nth-stroke(2) {
size: 12;
stroke: #333333;
stroke-width: 1px;
label: [label];
font-fill: black;
label-geometry: [startPoint(geometry)];
}
}
I tried also putting two rules like:
* {
stroke: blue;
label: [label];
font-fill: black;
label-geometry: [endPoint(geometry)];
}
* {
label: [label];
font-fill: black;
label-geometry: [startPoint(geometry)];
}
but the later rule overrides the former one.
Any help?
Regards,
Fawzy
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users