RE: [Geoserver-users] SLD LineSymbolizer & stroke-dasharray

Oh ok, so it adds pixels to the length of the dashes as well as the
width... That's kinda a bug.

Did you try using the same style for a GetLegendGraphic request?

ta

Miles

Removing the <CssParameter name="stroke-width">2</CssParameter>
parameter yields the correct spacing. But with the stroke-width in
there, it seems to clobber the spacing a little. I have antialiasing
turned on, so that might be some of the issue. But maybe I am just
looking at it weird.

I changed the values to 4.0 8.0 2.0 8.0 and it looks good.

Brent Owens
(The Open Planning Project)

Miles Jordan wrote:
> Hi guys,
>
> I cant get stroke-dasharray to work, specifically:
>
> <CssParameter name="stroke-dasharray">4.0 4.0 2.0 4.0</CssParameter>
>
> This should produce a: 4px line, 4px space, 2px line, 4px space
> It currently produces a: 4px line, 1px space, 2px line, 1px space
>
> Also, the stroke is _always_ drawn solid in a LegendGraphic.
>
> I've attached the full SLD, and will file as a bug if somebody else
> can reproduce it.

___________________________________________________________________________

    Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
        Visit our web site at http://www.aad.gov.au/
___________________________________________________________________________