FW: [wfs-dev] sequence of Query elements
Foltýn Ctibor (junior)
ctibor.foltyn at berit.cz
Wed May 4 08:26:22 EST 2005
> -----Original Message-----
> From:
> wfs-dev-bounces+ctibor.foltyn=berit.cz at opengeospatial.org
> [mailto:wfs-dev-bounces+ctibor.foltyn=berit.cz at opengeospatial.
> org] On Behalf Of Panagiotis (Peter) A. Vretanos
> Sent: Tuesday, May 03, 2005 10:35 PM
> To: Martin Kyle; wfs-dev at opengis.org
> Subject: Re: FW: [wfs-dev] sequence of Query elements
> If you want to fetch A and then B, the correct request would be:
>
> <GetFeature>
> <Query typeName="A"/>
> <Query typeName="B"/>
> </GetFeature>
>
> In this case, you will get all the features in A and then all
> the features in B.
>
Does it mean the WFS server must not mix features of type A and B in the response? What if it is able to do some optimization like select both feature types by one query to db?
> The answer is that unless a SortBy is specified, there is no
> order implied in the response.
Is it possible to define one sort over more queries in one GetFeature request? Let's have this request:
<GetFeature>
<Query typeName="River"/>
<Query typeName="Creek"/>
</GetFeature>
and I want to sort both rivers and creeks together by their common propety e.g. "Name".
Thanks Ctibor
--
Ctibor Foltyn
IT Specialist
BERIT, a. s.
Cejl 62b, 602 00 Brno, Czech Republic
Tel.: +420 545 554 542
Fax: +420 545 554 999
E-mail: ctibor.foltyn at berit.cz
Web: http://www.berit.cz
More information about the wfs-dev
mailing list