Filter Encoding
filter, format, comparison, filter encoding, fe, logical, attribute, attributive, spatial, advanced
Using the filter format write out filter objects.
filter = new OpenLayers.Filter.Logical({ type: OpenLayers.Filter.Logical.AND, filters: [ new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.LIKE, property: "person", value: "me" }), new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.NOT_EQUAL_TO, property: "mean", value: "yes" }), new OpenLayers.Filter.Spatial({ type: OpenLayers.Filter.Spatial.BBOX, value: new OpenLayers.Bounds(-180, -90, 180, 90), projection: "EPSG:4326" }) ] });
write
Filter Encoding 1.0
Filter Encoding 1.1