Request bounding box of WFS GetFeature

Bart van den Eijnden bartvde at XS4ALL.NL
Wed Feb 16 05:17:28 PST 2005


Hi Berend,

I can confirm this behaviour (just tested). It is also logical since
Mapserver does retrieve all the features from the datastore behind the
scenes. It only filters out the necessary features afterward, this is also
a topic in a Mapserver bug report:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=551

Best regards,
Bart

> Hi Bart,
>
> Interesting thread, thanks.
>
> I did some more testing, and it *looks like* the FeatureCollection >
> boundedBy tag represents the bounding box, regardless of wether
> MaxFeatures is set, although this isn't specifically mentioned in the
> WFS specifications. Ofcourse this is not exactly what I want, but it
> could reduce download size drastically in some cases, if MaxFeatures is
> set to 1.
> Can anyone confirm this behaviour?
>
> Berend
>
>
>
>
> bartvde at xs4all.nl wrote:
>
>> Hi Berend,
>>
>> using OGC interfaces there is currently no way to do this.
>>
>> There was also a thread on the wfs-dev list about this last year, the
>> idea
>> may end up in a new WFS specification. See:
>>
>> http://mail.opengeospatial.org/pipermail/wfs-dev/2004-June/000172.html
>>
>> Best regards,
>> Bart
>>
>>
>>>Hi,
>>>
>>>When doing a GetFeature request, I get all features (or only some, if I
>>>use a filter), including GML markup. This can sometimes lead to
>>>extensive downloads.
>>>Now there are times when I'm only interested in the bounding box of the
>>>resulting features, for instance when I want to zoom to filtered
>>> features.
>>>Is it possible to have only the bounding box returned and leave out the
>>>GML?
>>>
>>>Thanks, Berend
>>>
>
> --
> ____________________________
>
> Berend Veldkamp - ARIS
> http://www.aris.nl/
> ____________________________
>



More information about the MapServer-users mailing list