Hi,

The CQL/ECQL documentation 
http://docs.geoserver.org/stable/en/user/filter/ecql_reference.html#filter-ecql-reference
 tells about BBOX

" BBOX ( Expression , Number , Number , Number , Number [ , CRS ] ) 
Tests whether a geometry intersects a bounding box specified by its minimum and 
maximum X and Y values. The optional CRS is a string containing an SRS code 
(the default is EPSG:4326) "

Isn't that exactly how BBOX is used in the user question earliar today?  The 
following query finds data from the sf:streams but I wonder if it correct or 
not.

http://localhost:8080/geoserver/wfs?request=GetFeature&typeName=sf:streams&cql_filter=bbox%28the_geom,500000,4000000,700000,6000000%29

I read the CQL/ECQL reference so that the four-parameter BBOX above should be 
interpreted as EPSG:4326 BBOX, and if it is to mean EPSG:26713 BBOX it should 
be written as
cql_filter=bbox%28the_geom,500000,4000000,700000,6000000,EPSG:26713%29

However, Geoserver seems to interpret that CQL filter BBOX without CRS means 
the default CRS of the layer and it does not accept five-paremeter BBOX at all. 
 That't in CQL filter, the standard WFS BBOX as key-value-pair parameter does 
accept the fifth parameter.

-Jukka Rahkonen-
 



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to