[OpenLayers-Users] 'IN'-filter

Stephan Deckers stephandeckers at hotmail.com
Mon May 13 02:53:37 PDT 2013


Hi,
Consider the following filter :
                var f1 = new OpenLayers.Filter.Logical({	                type: OpenLayers.Filter.Logical.AND,	                filters: [	                    new OpenLayers.Filter.Comparison({		                type: OpenLayers.Filter.Comparison.EQUAL_TO,		                property: "rnummer ",		                value: "1000578"	                    }),	                    new OpenLayers.Filter.Comparison({		                type: OpenLayers.Filter.Comparison.EQUAL_TO,		                property: "rnummer ",		                value: "100546"	                    })]                });
This will return all rows where the property 'rnummer' equals '1000578' or '100546'. I don't know in advance how many rnummers I have, so I am looking for  a way to get openLayers to invoke a SQL-'IN' statement  Can I  do this  or are there better ways to achieve what  I want ?
thanks, Stephan 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130513/84ab6276/attachment.html>


More information about the Users mailing list