Can anyone provide an example of the Collection_Unique function? I was
hoping to use it in a filter for a WFS request to return only unique values.
I'd like to do something like this:
<wfs:Query typeName="massgis:GISDATA.OPENSPACE_POLY">
<ogc:PropertyName>SITE_NAME</ogc:PropertyName>
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>OWNER_ABRV</ogc:PropertyName>
<ogc:Literal>DFG</ogc:Literal>
</ogc:PropertyIsEqualTo>
<ogc:Function name="Collection_Unique">
<ogc:PropertyName>SITE_NAME</ogc:PropertyName>
</ogc:Function>
</ogc:Filter>
</wfs:Query>
A prior
http://www.nabble.com/WFS-Distinct-Query-Request-td12071839.html#a12071839
post indicates that this is not possible but that leaves me wondering about
the utility of the Collection_Unique function.
Thanks,
Dan
-----
Dan Koch
Massachusetts Dept. of Fish & Game
--
View this message in context: http://www.nabble.com/Collection_Unique-function-tp16628237p16628237.html
Sent from the GeoServer - User mailing list archive at Nabble.com.