Issue Type: Bug Bug
Affects Versions: 2.3.4
Assignee: Andrea Aime
Components: WMS
Created: 08/Aug/13 1:11 AM
Description:

(Following the mailing list thread)
I have a layer with a threshold set to 1:40,000.

When I query it with GetFeatureInfo it doesn't work:

http://wppgeog3/geoserver/ows?buffer=5&LAYERS=OS_CP_POLYGON_POSTCODES&QUERY_LAYERS=OS_CP_POLYGON_POSTCODES&STYLES=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX=427188.8%2C261509.2%2C438456%2C270234&FEATURE_COUNT=50&HEIGHT=779&WIDTH=1006&FORMAT=image%2Fpng&INFO_FORMAT=application%2Fvnd.ogc.gml&SRS=EPSG%3A27700&X=454&Y=362

GeoServer tells me that scale is 40,000.000000000044.

If I change the layer threshold to 1:40,001 the GetFeatureInfo works.

Conversely a GetMap request works out to at least 40,017 for the same layer.

Ideally GetFeatureInfo requests would be as flexible as GetMap requests, but at the very least they should use "round()" before comparing scales to mitigate this issue.

Project: GeoServer
Priority: Major Major
Reporter: Jonathan Moules
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to