Andrea Aime wrote:
>
> Miles, I'm actually confused. If I look into the Filter specification
> there is no such a thing as a "PropertyExists" filter, so I'm not
> surprised the above does not work. Have a look for yourself:
> http://schemas.opengis.net/filter/1.0.0/filter.xsd
>
> The proper way to write the same filter would be something like:
>
> <ogc:Filter>
>        <ogc:And>
>                <ogc:PropertyIsEqualsTo>
>                      <ogc:Function name="PropertyExists">
>                           <ogc:Literal>MY_PROPERTY</ogc:Literal>
>                      </ogc:Function>
>                      <ogc:Literal>true</ogc:Literal>
>                </ogc:PropertyIsEqualsTo>
>                <ogc:PropertyIsEqualTo>
> <ogc:PropertyName>MY_PROPERTY</ogc:PropertyName>
>                        <ogc:Literal>1</ogc:Literal>
>                </ogc:PropertyIsEqualTo>
>        </ogc:And>
> </ogc:Filter>
>
> If anything the parser should throw a bloody exception saying it does
> not know what ogc:PropertyExists is :-)

Baahaha oops. Massive oversight! Thanks for pointing that out. End of year 
brain fuzz. Merry Christmas :)

-Miles


___________________________________________________________________________

    Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not 
the
intended recipient, you are notified that use or dissemination of this 
communication is
strictly prohibited by Commonwealth law. If you have received this transmission 
in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 
3209 and
DELETE the message.
        Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to