Hi list

I'm trying use filter "strMatches" but it raise this error:

*java.lang.RuntimeException: Parsing failed for Filter:
java.lang.RuntimeException: Unable to find function*

Using Geoserver 2.15
The function exist in Getcapabilities:

[image: Captura de pantalla_2020-10-09_23-21-15.png]

My definition:

<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xmlns:xlink="
http://www.w3.org/1999/xlink"; xmlns:ogc="http://www.opengis.net/ogc";
xmlns:se="http://www.opengis.net/se"; version="1.1.0" xsi:schemaLocation="
http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd";>
  <NamedLayer>
    <se:Name>Focos_Calor_08_10_2020_282</se:Name>
    <UserStyle>
      <se:Name>Focos_Calor_08_10_2020_282</se:Name>
      <se:FeatureTypeStyle>
        <se:Rule>
          <se:Name>00-02</se:Name>
          <se:Description>
            <se:Title>00-02</se:Title>
          </se:Description>
          <ogc:Filter>
              <ogc:Function name="strMatches">
                <ogc:PropertyName>acq_time</ogc:PropertyName>
                <ogc:Literal>[00 | 01| 02]:</ogc:Literal>
              </ogc:Function>
          </ogc:Filter>
          <se:PointSymbolizer>
            <se:Graphic>
              <se:Mark>
                <se:WellKnownName>circle</se:WellKnownName>
                <se:Fill>
                  <se:SvgParameter name="fill">#3dd2df</se:SvgParameter>
                </se:Fill>
                <se:Stroke>
                  <se:SvgParameter name="stroke">#232323</se:SvgParameter>
                  <se:SvgParameter name="stroke-width">0.5</se:SvgParameter>
                </se:Stroke>
              </se:Mark>
              <se:Size>7</se:Size>
            </se:Graphic>
          </se:PointSymbolizer>
        </se:Rule>
      </se:FeatureTypeStyle>
    </UserStyle>
  </NamedLayer>
</StyledLayerDescriptor>


-- 

Pablo J. Zader
Lic. en Cs. de la Computación + MSc. en Aplicaciones Espaciales de Alerta y
Respuesta Temprana a Emergencias
[email protected]

Universidad Nacional de Córdoba
Av. Valpáraíso s/n Ciudad Universitaria
 [image: skype] [image: linkedIn]
<http://linkedin.com/in/pablo-javier-zader-7a232125>

*"Los Grandes Hombres hablan sobre ideas...  Los Hombres Promedio hablan
sobre cosas...  Los Hombres Pequeños hablan.. de otros Hombres.*

*del libro Matemática estas ahí? A. Paenza "*
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to