From: Bart v. d. E. (OSGIS) <ba...@os...> - 2010-08-31 13:32:31
|
Hi list, using an ArcSDE datastore on GS 2.0.2 I am unable to get a BBOX filter to work. Resulttype hits without a filter works fine (returns 2398 for the numberOfFeatures): <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" resultType="hits"><wfs:Query typeName="feature:SDE_POLY" srsName="EPSG:28992" xmlns:feature="http://www.rijkswaterstaat.nl"/></wfs:GetFeature> But as soon as I use a BBOX filter I get back 0 features, but an SLD which uses the same filter on the WMS highlights quite a few features: <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" resultType="hits"><wfs:Query typeName="feature:SDE_POLY" srsName="EPSG:28992" xmlns:feature="http://www.rijkswaterstaat.nl"><ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"><ogc:BBOX><ogc:PropertyName>SHAPE</ogc:PropertyName><gml:Envelope xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:28992"><gml:lowerCorner>172521.25986657 533341.09048068</gml:lowerCorner><gml:upperCorner>190812.88089851 549917.87204088</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature> Any ideas of what could be the issue? Best regards, Bart |