<span style=" font-size:10pt;font-family:sans-serif">Hello,</span><br><br><span style=" font-size:10pt;font-family:sans-serif">I'm trying to
query a free WFS with filter values via ogr2ogr and write the results to
a GeoJson file. </span><br><br><span style=" font-size:10pt;font-family:sans-serif">If I use the following
URL incl. filter:</span><br><br><a href="https://isk.geobasis-bb.de/ows/feldblockkataster_wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=refbb:Feldblock&SRSNAME=EPSG:25833&filter="><span style=" font-size:10pt;color:blue;font-family:sans-serif">https://isk.geobasis-bb.de/ows/feldblockkataster_wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=refbb:Feldblock&SRSNAME=EPSG:25833&filter=</span></a><span style=" font-size:10pt;font-family:sans-serif"><fes:Filter
xmlns:fes="</span><a href=http://www.opengis.net/fes/2.0><span style=" font-size:10pt;color:blue;font-family:sans-serif">http://www.opengis.net/fes/2.0</span></a><span style=" font-size:10pt;font-family:sans-serif">"
xmlns:xsi="</span><a href="http://www.w3.org/2001/XMLSchema-instance"><span style=" font-size:10pt;color:blue;font-family:sans-serif">http://www.w3.org/2001/XMLSchema-instance</span></a><span style=" font-size:10pt;font-family:sans-serif">"
xsi:schemaLocation="</span><a href=http://www.opengis.net/fes/2.0><span style=" font-size:10pt;color:blue;font-family:sans-serif">http://www.opengis.net/fes/2.0</span></a><span style=" font-size:10pt;font-family:sans-serif"></span><a href=http://schemas.opengis.net/filter/2.0/filterAll.xsd><span style=" font-size:10pt;color:blue;font-family:sans-serif">http://schemas.opengis.net/filter/2.0/filterAll.xsd</span></a><span style=" font-size:10pt;font-family:sans-serif">">
<fes:And> <fes:PropertyIsEqualTo> <fes:ValueReference>FLIK</fes:ValueReference>
<fes:Literal>DEBBLI1873413738</fes:Literal> </fes:PropertyIsEqualTo>
<fes:PropertyIsEqualTo> <fes:ValueReference>FACHL_GUELTIG_AB</fes:ValueReference>
<fes:Literal>2022-01-01</fes:Literal> </fes:PropertyIsEqualTo>
</fes:And> </fes:Filter></span><br><br><span style=" font-size:10pt;font-family:sans-serif">get the error
message:</span><br><br><span style=" font-size:10pt;font-family:sans-serif">ERROR 1: Couldn't
fetch requested layer '</span><a href=http://schemas.opengis.net/filter/2.0/filterAll><span style=" font-size:10pt;color:blue;font-family:sans-serif">http://schemas.opengis.net/filter/2.0/filterAll</span></a><span style=" font-size:10pt;font-family:sans-serif">.
xsd> <fes:And> <fes:PropertyIsEqualTo> <fes:ValueReference>FLIK</fes:ValueReference>
<fes:Literal>DEBBLI1873413738</fes:Literal> </fes:PropertyIsEqualTo>
<fes: PropertyIsEqualTo> <fes:ValueReference>FACHL_GUELTIG_AB</fes:ValueReference>
<fes:Literal>2022-01-01</fes:Literal> </fes:PropertyIsEqualTo>
</fes:And> </fes:Filter>'!</span><br><br><span style=" font-size:10pt;font-family:sans-serif">and no results.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">If I submit the
GetFeature request directly in the browser, I get the expected result (namely
exactly 2 features).</span><br><span style=" font-size:10pt;font-family:sans-serif">Without the filter
on the URL, my GetFeature requests also work as expected with ogr2ogr.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">What am I doing
wrong?</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Michael</span><font face="sans-serif"></font>