Uploaded image for project: 'GeoServer'
  1. GeoServer
  2. GEOS-6840

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.4, 2.9.1, 2.10-M0
    • Component/s: None
    • Labels:
      None

      Description

      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)

        Attachments

        1. log_pdf.txt
          8 kB
        2. log_png.txt
          11 kB
        3. suo.pdf
          34 kB
        4. suo.png
          28 kB

          Issue links

            Activity

              People

              • Assignee:
                aaime aaime
                Reporter:
                harrison.grundy codehaus (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: