[Geoserver-users] custom electric line style with SLD

Hello List,

I am trying to make custom electric line pattern with SLD. You can see how it must look on this link http://img42.com/lqoJP

Everything goes ok with start and end points – I can generate such symbols for them.

But I have stuck with other inner vertexes (Npoints).

To achieve such result I must have Npoint (vertex) angles (two angles are needed for Npoint) you can see what I mean on the following picture http://img42.com/10rvR

Maybe you have any advice how to create such line style with GeoServer SLD?

Or maybe it is possible to add additional custom functionality (patch) to have such „NpointStartAngle“ and „NpointEndAngle“ filter functions and someone could point “How to”?

Thank you for any help,

Paul

Hi Paul,
I think you should possibly be able to do that by using some combination of the functions from here - http://docs.geoserver.org/stable/en/user/filter/function_reference.html

There’s one for startAngle and another for endAngle. Alternately I guess you could use the maths functions (also on there) to calculate it for interim vertices.

Regards,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 22 January 2014 12:23, Paulius Litvinas <paulius@anonymised.com> wrote:

Hello List,

I am trying to make custom electric line pattern with SLD. You can see how it must look on this link http://img42.com/lqoJP

Everything goes ok with start and end points – I can generate such symbols for them.

But I have stuck with other inner vertexes (Npoints).

To achieve such result I must have Npoint (vertex) angles (two angles are needed for Npoint) you can see what I mean on the following picture http://img42.com/10rvR

Maybe you have any advice how to create such line style with GeoServer SLD?

Or maybe it is possible to add additional custom functionality (patch) to have such „NpointStartAngle“ and „NpointEndAngle“ filter functions and someone could point “How to”?

Thank you for any help,

Paul


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users