Il 03/19/2015 04:16 PM, Andrea Aime scrisse:
> No, there is no way to use general regular expression against databases,
> strMatches uses
> the Java regex syntax,
What do you mean?
I use strMatches in sld against a postgis database field, something like:
<ogc:PropertyIsEqualTo>
<ogc:Function name="strMatches">
<ogc:PropertyName>mypostgisfield</ogc:PropertyName>
<ogc:Literal>.*\b(1|32|56)\b.*</ogc:Literal>
</ogc:Function>
<ogc:Literal>true</ogc:Literal>
</ogc:PropertyIsEqualTo>
Do you mean that postgresql regex has a different syntax that can't be
used in strMatches?
Thank you
maxx
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users