Support registered database functions in WFS filter queries
-----------------------------------------------------------

                 Key: GEOT-1929
                 URL: http://jira.codehaus.org/browse/GEOT-1929
             Project: GeoTools
          Issue Type: New Feature
          Components: data complex
    Affects Versions: 2.4.5
            Reporter: Ben Caradoc-Davies
            Assignee: Ben Caradoc-Davies


Users want to be able to specify a function in a WFS filter query that is 
executed on the database server. We are calling these "registered" functions 
because we anticipate that there will be a register of permitted functions, 
perhaps listed in a table called "registered_functions".

This is a more general solution, currently hiding out in 
community-schemas/jdbc-regfunc on the 2.4.x branch because we are using it for 
GeoSciML Testbed 3, a community-schemas application. In the future, this 
functionality should be folded into the regular JDBC and filter support.

An example of the type of query users wish to use:

https://www.seegrid.csiro.au/twiki/bin/view/CGIModel/TestBed3UseCase3AProfile

<ogc:Filter>
  <ogc:PropertyIsEqualTo>
<ogc:Function name ="GSML_IS_LITHO"> 
        
<ogc:PropertyName>gsml:composition/gsml:CompositionPart/gsml:lithology/gsml:ControlledConcept/gsml:[EMAIL
 PROTECTED]'urn:ietf:rfc:2141']</ogc:PropertyName> 
        
<ogc:Literal>urn:cgi:classifier:CGI:Lithology:2008:wackestone</ogc:Literal > 
  </ogc:Function> 
  <ogc:Literal>1</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to