[OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

Ian Turton ijturton at gmail.com
Thu Aug 5 12:52:57 EDT 2010


Another solution is to use a character other than . for the single
character wildcard so that it no longer looks like a number to the
parser. Try

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsLike wildCard="*" singleChar="#" escape="!">
<ogc:PropertyName>indice</ogc:PropertyName>
<ogc:Literal>#2</ogc:Literal>
</ogc:PropertyIsLike>
</ogc:Filter>


Ian

-- 
Ian Turton



More information about the Users mailing list