Hi Ursula,

Thanks for your quick response.

I've tried your proposal -and another variants- but it didn't work.

I'm sure I'm forgetting something. This is de URL services just in case you 
find what it is:

https://geo.araba.eus/WFS_EXT2D_INSPIRE_BU?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetCapabilities

Thanks and regards,

Elena Salido Castro
Ingeniera GIS
(+34) 945 13 13 72 | Plza. del Renacimiento, 9, 2.ª planta, Oficina 2 - 01004 
Vitoria-Gasteiz

De: Michael, Ursula (DEM) <ursula.mich...@sa.gov.au>
Enviado el: miércoles, 29 de noviembre de 2023 6:21
Para: Elena Salido Castro <elena.sal...@geograma.com>; 
geoserver-users@lists.sourceforge.net
Asunto: [EXTERNO] RE: [Geoserver-users] Filtering WFS generated by 
Application-Schema plugin

No suele recibir correos electrónicos de 
ursula.mich...@sa.gov.au<mailto:ursula.mich...@sa.gov.au>. Por qué esto es 
importante<https://aka.ms/LearnAboutSenderIdentification>

UNOFFICIAL

Hi Elena,

Have you tried using OCG filter syntax?

You would use the Filter query param, and pass a URL encoded filter structured 
similar to this.

<Filter>
    <PropertyIsEqualTo>
        
<PropertyName>bu-core2d:inspireId/base:Identifier/base:localId</PropertyName>
        <Literal>AAAAAAAAA</Literal>
    </PropertyIsEqualTo>
</Filter>

[cid:image001.png@01DA22A2.D49C4B70]

This is the geoserver docs
https://docs.geoserver.org/2.23.x/en/user/filter/filter_reference.html

Kind Regards,
Ursula

From: Elena Salido Castro via Geoserver-users 
<geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>>
Sent: Tuesday, 28 November 2023 10:26 PM
To: 
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] Filtering WFS generated by Application-Schema plugin

Hi there,

I'm trying to get a certain feature from a WFS generated by Application-Schema 
plugin. I've applied different CQL_FILTER unsuccessfully.

This is a snippet of the entire WFS response for typeName = "bu-ext2d:Building" 
and the featureMember I want to get:

...
<gml:featureMember>
<bu-ext2d:Building gml:id="BBBBBBB.AAAAAAAAA ">
<bu-core2d:beginLifespanVersion xsi:nil="true" nilReason="unknown"/>
<bu-core2d:conditionOfConstruction>functional</bu-core2d:conditionOfConstruction>
<bu-core2d:dateOfConstruction>
...
</bu-core2d:dateOfConstruction>
<bu-core2d:dateOfDemolition>
...
</bu-core2d:dateOfDemolition>
<bu-core2d:dateOfRenovation>
...
</bu-core2d:dateOfRenovation>
<bu-core2d:endLifespanVersion xsi:nil="true" nilReason="unknown"/>
<bu-core2d:externalReference>
...
</bu-core2d:externalReference>
<bu-core2d:heightAboveGround>
...
</bu-core2d:heightAboveGround>
<bu-core2d:inspireId>
<base:Identifier>
<base:localId>AAAAAAAAA</base:localId>
<base:namespace>BBBBBBB</base:namespace>
</base:Identifier>
</bu-core2d:inspireId>
...
</gml:featureMember>
...

Find attached some of the tests I've done:

[cid:image002.png@01DA22A2.D49C4B70]                
[cid:image003.png@01DA22A2.D49C4B70]

Unfortunately, I don't have access to Geoserver and that's the reason why I 
can't give more information about the server.

Is there any other workaround to get the response I need from the WFS request? 
Do you think I'm doing anything wrong in the CQL_FILTER?

Any help will be appreciated.

Thanks and regards,




Elena Salido Castro - Ingeniera GIS
(+34) 945 13 13 72 | Plza. del Renacimiento, 9, 2.ª planta, Oficina 2 - 01004 
Vitoria-Gasteiz
[https://geograma.com/wp-content/banners/img27102023.png]<https://www.linkedin.com/company/geograma/>
Si no ves la imagen puedes acceder desde 
aquí<https://www.linkedin.com/company/geograma/>

Esta comunicación contiene información de acceso restringido y de uso exclusivo 
del destinatario. Si usted no es el destinatario tenga en cuenta que cualquier 
distribución, copia o uso de esta comunicación o la información que contiene 
está estrictamente prohibida. Si usted ha recibido esta comunicación por error 
por favor notifíquelo en la dirección 
d...@geograma.com<mailto:d...@geograma.com>. Tratamos su dirección de correo 
electrónico y otros datos personales para mantener el contacto y comunicación 
con Ud. y, en su caso, remitirle información sobre nuestros productos y 
servicios. Si no desea recibir tal información envíe un e-mail en tal sentido a 
d...@geograma.com<mailto:d...@geograma.com>. Puede acceder, rectificar y 
suprimir los datos, así como otros derechos, como se detalla en la información 
adicional y completa a su disposición en nuestra política de privacidad en la 
URL 
www.geograma.com/politica-privacidad/<http://www.geograma.com/politica-privacidad/>.

[https://geograma.com/wp-content/banners/web.png]<https://www.geograma.com/>  
[https://geograma.com/wp-content/banners/in.png] 
<http://geograma.com/wp-content/eventos/linkedin.php>

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to