[Geoserver-devel] [jira] Created: (GEOS-2330) Issues with filtering reprojected WMS requests

Issues with filtering reprojected WMS requests
----------------------------------------------

                 Key: GEOS-2330
                 URL: http://jira.codehaus.org/browse/GEOS-2330
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.7.0
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.7.1

The following request, topp:states with a simple geometry filter, works:

http://geo.openplans.org:8080/geoserver/wms?WIDTH=800&SRS=EPSG%3A4326&LAYERS=topp%3Astates&HEIGHT=317&STYLES=&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=-145.48948729687498,17.49445597548828,-46.211783703124986,56.83324602451172&&cql_filter=CONTAINS(the_geom,%20POINT(-100%2032))

Yet, if we reproject the request and try the same, nothing is in the output:
http://geo.openplans.org:8080/geoserver/wms?SRS=epsg%3A900913&LAYERS=states&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=-14506687.699839897,2532091.2036790634,-6833400.172303446,6676419.982872237&WIDTH=611&HEIGHT=330&&cql_filter=CONTAINS(the_geom,%20POINT(-100%2032))

I thought maybe the filters are reprojected back to the native srs and so the request should be made with a filter whose coordintes are 900913, but that does not work either:
http://geo.openplans.org:8080/geoserver/wms?SRS=epsg%3A900913&LAYERS=states&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=-14506687.699839897,2532091.2036790634,-6833400.172303446,6676419.982872237&WIDTH=611&HEIGHT=330&&cql_filter=CONTAINS(the_geom,%20POINT(-10977729%203712596))

So it seems something odd is going on in this case, not sure what thought...

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira