[mapserver-users] WFS class expressions
Raivo Alla
snaperski at gmail.com
Tue Oct 11 06:41:25 PDT 2011
Hello!
I'm keen to understand how mapserver(5.4) implements class expressions in
WFS.
Cause I have expression that works in WMS mapfile, but not in WFS mapfile.
As a result serving the WFS gets not filtered and WFS-client will show
information in all cases.
I have no effort even while trying to declare CLASSITEM "ARTS_XY" and under
CLASS section EXPRESSION "3".
Though, my actual wish is to apply simple regular expression, here is the
whole layer:
LAYER
NAME "Geodeetilised_punktid"
METADATA
"wfs_title" "Geodeetilised_punktid"
"wfs_srs" "EPSG:3301"
"gml_featureid" "REFNR_ID"
"gml_include_items" "all"
"wfs_encoding" "ISO-8859-1"
END
DUMP true
EXTENT 300000 6300000 800000 6700000
TYPE point
STATUS off
DATA geo_out
CLASSITEM "ARTS_XY"
CLASS
NAME "Geodeetilised_punktid"
EXPRESSION /[1-3]/
END
END
I have confirmed that the file on DATA section contains field integer-type
field ARTS_XY.
Is it possible that I have failed to realize that WFS expressions just work
differently?
Best regards,
Raivo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111011/4877e6be/attachment.htm>
More information about the MapServer-users
mailing list