[Geoserver-devel] [jira] (GEOS-6502) stroke-Dasharray style partially breaks WMS getfeatureinfo

Casper Span created an issue

GeoServer / BugGEOS-6502

stroke-Dasharray style partially breaks WMS getfeatureinfo

Issue Type:

BugBug

Affects Versions:

2.5.1, 2.5

Assignee:

Andrea Aime

Attachments:

poly_landmarks.sld

Components:

WMS

Created:

28/May/14 6:09 AM

Environment:

Windows 8.1, Geoserver within Jetty

Labels:

wms getfeatureinfo sld

Priority:

MinorMinor

Reporter:

Casper Span

I’ve been running 2.5.0 for a bit and noticed some strange behavior. When further investigating I also found this behavior to be present on 2.5.1.

It unfolds as follows.

  1. create a new style, or edit an existing style made for polygons
  2. add a stroke dasharray to the stroke in the polygonsymbolizer:
    <CssParameter name=“stroke-dasharray”>4 3</CssParameter>
  3. make sure you know what layer uses this style and open it in geoserver’s layer preview
  4. click on one of the polygons on the map that has a dashed border. First click the border, then somewhere well inside the polygon

For me, I will only get data when clicked on the border, no data when clicking within the polygon bounds.

I’ve run this test on SQL Server, and noticed the query is being run in both cases and also return the expected result (1 record). I have also tested this on the tiger_ny set by adding a dasharray to the landmarks style. (added as attachement)

Add Comment

Add Comment

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

Atlassian logo