Wednesday 11 January 2017

OpenLayers filter on null and 0


I have this filter:


var filter_unset = new OpenLayers.Filter.Comparison({
type: OpenLayers.Filter.Comparison.EQUAL_TO,
property: attribute,

value: 0
});

Now, I want the filter to apply on null values as well, something like:


        value: 0 or NULL  

Can I do this?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...