Looks like a typo. It should be PropertyIsGreaterThan. You put an extra H
in Greather.
Looks ok otherwise, I think.
--
David Winslow
OpenGeo - http://opengeo.org/
On Wed, Mar 21, 2012 at 11:58 AM, Ariel Falduto <[email protected]> wrote:
> Hi guys,
>
> whats wrong with this expresssion ...
>
> <Rule>
> <Name>Medium</Name>
> <Title>De 15 a 30 Minutos</Title>
> <ogc:Filter>
> <ogc:And>
> <ogc:PropertyIsGreatherThan>
> <ogc:PropertyName>time</ogc:PropertyName>
> <ogc:Literal>15</ogc:Literal>
> </ogc:PropertyIsGreatherThan>
> <ogc:PropertyIsLessThanOrEqualTo>
> <ogc:PropertyName>time</ogc:PropertyName>
> <ogc:Literal>30</ogc:Literal>
> </ogc:PropertyIsLessThanOrEqualTo>
> </ogc:And>
> </ogc:Filter>
> <PointSymbolizer>
> <Graphic>
> <Mark>
> <WellKnownName>circle</WellKnownName>
> <Fill>
> <CssParameter name="fill">#ff8200</CssParameter>
> </Fill>
> </Mark>
> <Size>12</Size>
> </Graphic>
> </PointSymbolizer>
> </Rule>
>
> The style validator throws me ...
>
> org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
> found starting with element 'ogc:PropertyIsGreatherThan'. One of '{"
> http://www.opengis.net/ogc":spatialOps,
> "http://www.opengis.net/ogc":comparisonOps,
> "http://www.opengis.net/ogc":logicOps,
> "http://www.opengis.net/ogc":FeatureId}'
> is expected.
>
> ogc:PropertyIsGreatherThan tag not works like
> ogc:PropertyIsLessThanOrEqualTo ?? soooo strange ... im using Geoserver
> 2.1.3 ..
>
> ideas ?? thks
>
> --
> Ariel Falduto
> [email protected]
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users