On Wed, Apr 10, 2013 at 2:11 PM, David Alda Fernandez de Lezea <
[email protected]> wrote:

> Hi there,
>
> I'm making some WFS getFeature requests and each request has more than one
> query in it. My problem is that I can't link the result of the getFeature
> request with the results of each query...
>
> More "graphically":
>
> My_Request --> q1, q2, q3
>
> Server --> response --> the returned data is "alltogether" so I can't
> identify which features are part of q1, q2 or q3.
>
>
> My request looks like this:
>
> <wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2"
>  xmlns:wfs="http://www.opengis.net/wfs"; xmlns:ogc="
> http://www.opengis.net/ogc"; xmlns:gml="http://www.opengis.net/gml";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
> http://www.opengis.net/wfs
> http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd";><wfs:Query
> typeName="IKT:prueba_wfst">
>                                  <Filter>
>                                         <PropertyIsEqualTo>
>
> <PropertyName>MUNICIPIO</PropertyName><Literal>18</Literal>
>                                         </PropertyIsEqualTo>
>                                 </Filter>
>                         </wfs:Query><wfs:Query typeName="IKT:prueba_wfst">
>                                  <Filter>
>                                         <PropertyIsEqualTo>
>
> <PropertyName>MUNICIPIO</PropertyName><Literal>59</Literal>
>                                         </PropertyIsEqualTo>
>                                 </Filter>
>                         </wfs:Query><wfs:Query typeName="IKT:prueba_wfst">
>                                  <Filter>
>                                         <PropertyIsEqualTo>
>
> <PropertyName>MUNICIPIO</PropertyName><Literal>8</Literal>
>                                         </PropertyIsEqualTo>
>                                 </Filter>
>                         </wfs:Query></wfs:GetFeature>
>
> Is there a way in which I can identify this elements? Is it possible to
> add something to the requests in each query (maybe a tag or identifier)
> that could be returned with every feature?
>

As far as I know the WFS standard provides no way to tell the results of
different queries against the same type apart

Cheers
Andrea


-- 
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.geo-solutions.it for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to