Jerome Wendell created an issue |
Issue Type: |
Bug |
---|---|
Affects Versions: |
2.5.1 |
Assignee: |
|
Attachments: |
Surface Tracts with labels.sld, Surface Tracts with labels.xml, wms_issue.zip |
Components: |
WMS |
Created: |
13/Jul/14 5:46 PM |
Environment: |
GeoServer 2.5.1 (stable version web archive download) and Tomcat 7.0.54 on a Windows 2008 R2 server |
Fix Versions: |
2.4.3 |
Priority: |
Major |
Reporter: |
I have several WMS layers in GeoServer that only contain polygons and are based on a shapefile data source. I am submitting WMS (Version 1.1.1) GetFeatureInfo requests from an OpenLayers map when a polygon is clicked on. When I select certain polygons on the WMS layer, a polygon adjacent to it and in some cases a polygon that isnât even touching the clicked on polygon will be returned in the GetFeatureInfo response from GeoServer. Previously I was using GeoServer 2.4.3 and was not experiencing this behavior. In researching this issue, it seems to be related to the maxBuffer value in the wms.xml file. First I tried changing the buffer and maxBuffer parameters using vendorParams in the GetFeatureInfo request, but it did not change the response. I also tried reducing the maxBuffer value in wms.xml to 5 (which I think is the default value for the buffer parameter) and restarting Tomcat, but it did not change the behavior either. I tried setting the maxBuffer value to 1 and restarting Tomcat, but it did not change the behaviour For now, I have reverted back to the old GetFeatureInfo engine by adding the following to my JVM startup parameters: -Dorg.geoserver.wms.featureinfo.render.enabled=false By adding the above parameter, the GetFeatureInfo response is now being returned as before. I have attached a sample of the data that I am using when the problem occurs, and the style file for the data. The coordinate reference system for the data is EPSG:4326. A sample request that is submitted when the behavior occurs is below: If any additional information is needed, please let me know. |
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c) |