[Geoserver-users] Filter function definitions

All,

Are there any user docs about how to use the various filter functions, such
as:

<ogc:Function_Name nArgs="1">Area</ogc:Function_Name>
<ogc:Function_Name nArgs="3">between</ogc:Function_Name>
<ogc:Function_Name nArgs="1">boundary</ogc:Function_Name>
<ogc:Function_Name nArgs="1">boundaryDimension</ogc:Function_Name>
<ogc:Function_Name nArgs="2">buffer</ogc:Function_Name>
<ogc:Function_Name nArgs="3">bufferWithSegments</ogc:Function_Name>
<ogc:Function_Name nArgs="1">centroid</ogc:Function_Name>
<ogc:Function_Name nArgs="1">Collection_Min</ogc:Function_Name>
<ogc:Function_Name nArgs="2">contains</ogc:Function_Name>
<ogc:Function_Name nArgs="1">convexHull</ogc:Function_Name>

.....etc, etc?

Something that explains what the arguments are, etc. The filter spec seems
to show things in the abstract, with some detailed examples, but not for all
the funtions....or at least what I'm able to decipher.

Thanks,
Steve

Stephen Crawford
Center for Environmental Informatics
GeoVISTA Center
The Pennsylvania State University
814.865.9905
src176@anonymised.com

Sorry, there's no documentation as of yet. You'll have to use the source:

http://svn.geotools.org/geotools/branches/2.2.x/module/main/src/org/geotools/filter/function/

Each class is one function, and you can look at the args to figure out what's required.

If you could document what the arguments are for some of them that would be great. We can easily set you up with a wiki page to do so.

Note that most just match the arguments of the java functions, primarily from JTS and Math packages, with a few others mixed in.

The filter spec leaves things very loose, lets people define their own functions and arguments. Which is kind of silly, since different implementations could define the arguments differently. So we just dumped how Java does things.

best regards,

Chris

Stephen Crawford wrote:

All,

Are there any user docs about how to use the various filter functions, such
as:

<ogc:Function_Name nArgs="1">Area</ogc:Function_Name>
<ogc:Function_Name nArgs="3">between</ogc:Function_Name>
<ogc:Function_Name nArgs="1">boundary</ogc:Function_Name>
<ogc:Function_Name nArgs="1">boundaryDimension</ogc:Function_Name>
<ogc:Function_Name nArgs="2">buffer</ogc:Function_Name>
<ogc:Function_Name nArgs="3">bufferWithSegments</ogc:Function_Name>
<ogc:Function_Name nArgs="1">centroid</ogc:Function_Name>
<ogc:Function_Name nArgs="1">Collection_Min</ogc:Function_Name>
<ogc:Function_Name nArgs="2">contains</ogc:Function_Name>
<ogc:Function_Name nArgs="1">convexHull</ogc:Function_Name>

.....etc, etc?

Something that explains what the arguments are, etc. The filter spec seems
to show things in the abstract, with some detailed examples, but not for all
the funtions....or at least what I'm able to decipher.

Thanks,
Steve

Stephen Crawford
Center for Environmental Informatics
GeoVISTA Center
The Pennsylvania State University
814.865.9905
src176@anonymised.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1003,44c8531185214820651628!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org