I am currently working on a demo where we want to filter information by CQL
and BBOX. Previously we ran Geoserver 2.1.3 but I recently upgraded to
2.4.0. A couple of days ago I accidentally came across a strange behavior of
the service:

For request 
http://[mysite]/geoserver/wfs?service=wfs&version=1.1.0&request=GetFeature&typeName=[namespace]:[layer]&CQL_FILTER=BBOX(GEOMETRY,60,-60,70,-50,'urn:x-ogc:def:crs:EPSG:4326')%20AND%20VALIDFROMTEXT='20131009/1800'%20AND%20CONCENTRATION='High'
 

I get a response containing a single feature (gml:id=TMP_VAMC.12617) with
<gml:Envelope srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:lowerCorner>25.900277777777777 -24.201944444444443</gml:lowerCorner>
<gml:upperCorner>61.56388888888888 65.0886111111111</gml:upperCorner>
</gml:Envelope>

So for request bounds (60,-60,70,-50) the service returns a feature with
bounds (25, -24, 61, 65) which is wrong,

Another observation I made is that requests (60,55,70,150), (60,150,70,55),
(60,-55,70,-150) and (60,-150,70,-55) all return the above-mentioned
feature. This seems very strange to me because the first two are 55 to 150
whereas the other two are -150 to -55 and the returned feature is not so
large to span from -55 to +55.


Anyone else having similar problems with 2.4.0?

Thanks,
// Marcus 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Problems-with-Geoserver-2-4-0-and-CQL-BBOX-filter-tp5083354.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to