Hello!<br><br>I&#39;m keen to understand how mapserver(5.4) implements class expressions in WFS.<br>Cause I have expression that works in WMS mapfile, but not in WFS mapfile. <br>As a result serving the WFS gets not filtered and WFS-client will show information in all cases.<br>
I have no effort even while trying to declare CLASSITEM  &quot;ARTS_XY&quot; and under CLASS section EXPRESSION &quot;3&quot;. <br>Though, my actual wish is to apply simple regular expression, here is the whole layer:<br>
<br> LAYER<br>  NAME &quot;Geodeetilised_punktid&quot;<br>  METADATA<br>    &quot;wfs_title&quot; &quot;Geodeetilised_punktid&quot;<br>    &quot;wfs_srs&quot;  &quot;EPSG:3301&quot;<br>    &quot;gml_featureid&quot; &quot;REFNR_ID&quot;<br>
    &quot;gml_include_items&quot; &quot;all&quot;<br>    &quot;wfs_encoding&quot;     &quot;ISO-8859-1&quot;<br>  END<br>  DUMP true <br>  EXTENT 300000 6300000 800000 6700000<br>  TYPE point<br>  STATUS off<br>  DATA geo_out<br>
  CLASSITEM &quot;ARTS_XY&quot;<br>  CLASS<br>      NAME &quot;Geodeetilised_punktid&quot;<br>      EXPRESSION /[1-3]/<br>  END<br> END<br><br>I have confirmed that the file on DATA section contains field integer-type field ARTS_XY.<br>
Is it possible that I have failed to realize that WFS expressions just work differently?<br><br><br>Best regards,<br>Raivo<br><br><br><br>