And couldn't you use the OGC PropertyIsLike function (
http://docs.geoserver.org/stable/en/user/filter/filter_reference.html#propertyislike-operator)
 to achieve the same solution with out the over head of a second function
call?

Ian

On Thu, Mar 19, 2015 at 3:11 PM emmexx <[email protected]> wrote:

> Il 03/19/2015 03:52 PM, Ville Jussila scrisse:
>
> > I wrote in SLD:
> >
> > <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc";>
> >
> > <ogc:And>
> >
> > <ogc:Function name="strMatches">
> >
> > <ogc:PropertyName>kohdenimi</ogc:PropertyName>
> >
> > <ogc:Literal>_viiteviiva</ogc:Literal>
> >
> > </ogc:Function>
>
> The right syntax should be:
>
> ...
>         <ogc:PropertyIsEqualTo>
>            <ogc:Function name="strMatches">
>              <ogc:PropertyName>kohdenimi</ogc:PropertyName>
>              <ogc:Literal>_viiteviiva</ogc:Literal>
>            </ogc:Function>
>            <ogc:Literal>true</ogc:Literal>
>         </ogc:PropertyIsEqualTo>
> ...
>
> Andrea dixit :-)
>
> bye
>    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
>
------------------------------------------------------------------------------
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

Reply via email to