Does anyone know how to offset a stroke in Geoserver? For example I will color the left side of the street (line feature) red and the other side (same line feature) blue. I believe I will be using 2 LineSymbolizer for this but I don't know how to offset them. Otherwise, they will just be rendered on top of each other.
Any thoughts?
Answer
DISCLAIMER: My company financed the development of this plugin
There is a wonderful (!) plugin to achive this goal, it is Fluxomajic!
We developed it to render traffic information using Geoserver.
There is not so much documentation, you can go in to the code to get more information. An utilization example:
shap
7
4000
1
4
3
1
wms_crs
wms_width
wms_height
wms_bbox
Put the Geometry in a element, in an SLD.
No comments:
Post a Comment