[Geoserver-devel] [jira] (GEOS-6840) SLD shape://horline doesn't render in application/pdf output

Jakob Ventin created an issue

GeoServer / BugGEOS-6840

SLD shape://horline doesn’t render in application/pdf output

Issue Type:

BugBug

Assignee:

Andrea Aime

Attachments:

log_pdf.txt, log_png.txt, suo.pdf, suo.png

Created:

19/Jan/15 3:22 AM

Priority:

MajorMajor

Reporter:

Jakob Ventin

When using a polygonsymbolizer as bleow:

<PolygonSymbolizer>
<Fill>
<GraphicFill>
<Graphic>
<Mark>
<WellKnownName>shape://horline</WellKnownName>
<Stroke>
<CssParameter name=“stroke”>#5ce6e6</CssParameter>
<CssParameter name=“stroke-width”>6</CssParameter>
</Stroke>
</Mark>
<Size>16</Size>
</Graphic>
</GraphicFill>
</Fill>
</PolygonSymbolizer>

, the horisontal lines won’t render as they should in application/pdf output. In fact, it seems that all of the lines making the fill are drawn on top of each other on the bottom of the page (this happens if the polygon is cut by the bottom of the requested picture. If the polygon is whole inside the requested picture, nothing is rendered). See attached suo.pdf file. As you can see from suo.png, it works fine for image/png -output.

I tested to use shape://verline in the SLD, and the vertical lines are rendered ok alson in application/pdf output.

also attached log files for getmap whit image/png and application/pdf (GEOTOOLS_DEVELOPER_LOGGING.properties)

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo