Request-URI Too Long - ogc:Filter from POST
Reads ogc:Filter from Request. Useful in case of long filters which are not able to fit into URI GET REQUEST limits Odczytuje ogc:Filter z Request. Przydatne w przypadku długich filtrów nie mieszczących się w limicie długości URI.
Example POST
on:
/wfs-data.php/default_db/?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=p5_default_db:TEST_PERMS&SRSNAME=EPSG:3003
Result:
<GetFeature xmlns="http://www.opengis.net/wfs/2.0"
xmlns:p5_default_db="https://biuro.biall-net.pl/wfs/default_db"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
service="WFS"
version="2.0.2"
xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd">
<ogc:Filter>
<ogc:Or>
<ogc:PropertyIsLike wildCard="*" singleChar="%23" escapeChar="!">
<ogc:PropertyName>A_STATUS</ogc:PropertyName>
<ogc:Literal>*O%23MA*</ogc:Literal>
</ogc:PropertyIsLike>
<ogc:PropertyIsLike wildCard="*" singleChar="%23" escapeChar="!">
<ogc:PropertyName>A_STATUS</ogc:PropertyName>
<ogc:Literal>*ARNING</ogc:Literal>
</ogc:PropertyIsLike>
</ogc:Or>
</ogc:Filter>
</GetFeature>