You were right, wrong projection! And
localhost:8080/geoserver/wfs?
request=GetFeature&typeName=sf:streams&propertyName=the_geom&BBOX(-180,-90,180,90,EPSG:4326)

actually worked for me, I use version 2.2.1. Thank you for your help!

Alex



On Thu, Nov 8, 2012 at 5:03 PM, Ben Caradoc-Davies <
[email protected]> wrote:

> If I use a cql_filter that contains the urn:ogc:def:crs:EPSG::26713 bounds
> for sf:streams I get all 104 features:
>
> http://localhost:8080/**geoserver/wfs?request=**GetFeature&typeName=sf:**
> streams&cql_filter=bbox%28the_**geom,500000,4000000,700000,**6000000%29<http://localhost:8080/geoserver/wfs?request=GetFeature&typeName=sf:streams&cql_filter=bbox%28the_geom,500000,4000000,700000,6000000%29>
>
> Kind regards,
> Ben.
>
>
> On 08/11/12 13:51, Ben Caradoc-Davies wrote:
>
>> Alex,
>>
>> please show us the filter you are using for sf:streams. Note that
>> sf:streams is in urn:ogc:def:crs:EPSG::26713 (Eastings and Northings in
>> metres) and has the following envelope:
>>
>> <gml:Envelope>
>> <gml:lowerCorner>589443.06
>> 4913935.46</gml:lowerCorner><**gml:upperCorner>609526.75
>> 4928059.15</gml:upperCorner>
>> </gml:Envelope>
>>
>> I would expect CQL_FILTER=BBOX(the_geom,-180,**-90,180,90) to return no
>> features. I also had to remove the spaces (%20) from your URL.
>>
>> Kind regards,
>> Ben.
>>
>> On 08/11/12 13:24, Alexandre Djioev wrote:
>>
>>> Hi everyone,
>>>
>>> if I do the following request everything works fine:
>>>
>>> http://localhost:8080/**geoserver/wfs?request=**
>>> GetFeature&typeName=topp:**states&propertyName=the_geom&**
>>> CQL_FILTER=BBOX%28the_geom,%**20-180,%20-90,%20180,%2090%29<http://localhost:8080/geoserver/wfs?request=GetFeature&typeName=topp:states&propertyName=the_geom&CQL_FILTER=BBOX%28the_geom,%20-180,%20-90,%20180,%2090%29>
>>>
>>> <http://localhost:8080/**geoserver/wfs?request=**
>>> GetFeature&typeName=topp:**states&propertyName=the_geom&**
>>> CQL_FILTER=BBOX%28the_geom,%**20-180,%20-90,%20180,%2090%29<http://localhost:8080/geoserver/wfs?request=GetFeature&typeName=topp:states&propertyName=the_geom&CQL_FILTER=BBOX%28the_geom,%20-180,%20-90,%20180,%2090%29>
>>> >
>>>
>>>
>>> Nevertheless it works only with topp:states layer, if I try any other
>>> default layer (say sf:streams) it won't work. BBOX is set to max extend
>>> so it should come back with results. Is this a bug or I am doing
>>> something wrong?
>>>
>>>
>>> Thanks Alex
>>>
>>
>>
> --
> Ben Caradoc-Davies <[email protected]>
> Software Engineer
> CSIRO Earth Science and Resource Engineering
> Australian Resources Research Centre
>



-- 
Cheers, Alex
------------------------------------------------------------------------------
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