Support querying complex datastore through xlink:href property
--------------------------------------------------------------

                 Key: GEOT-1542
                 URL: http://jira.codehaus.org/browse/GEOT-1542
             Project: GeoTools
          Issue Type: Sub-task
          Components: data complex
    Affects Versions: 2.4-RC1
            Reporter: Gabriel Roldán
            Assignee: Gabriel Roldán
             Fix For: 2.4-RC1


Some attributetype mappings set "client properties" mappings to be encoded as 
xml attributes when encoding to GML.
It is needed to be able of querying through this property, like in:
{{sa:shape/geo:LineByVector/geo:origin/@xlink:href}}

Example query:
{code}
<wfs:GetFeature service="WFS" version="1.1.0"
  xmlns:xmml="http://www.opengis.net/xmml";
  xmlns:sa="http://www.opengis.net/sampling";
  xmlns:wfs="http://www.opengis.net/wfs";
  xmlns:ogc="http://www.opengis.net/ogc";
  xmlns:gml="http://www.opengis.net/gml";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://www.opengis.net/wfs
                      http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";>
  <wfs:Query typeName="xmml:Borehole">
    <ogc:Filter>
      <ogc:PropertyIsEqualTo>
        
<ogc:PropertyName>sa:shape/geo:LineByVector/geo:origin/@xlink:href</ogc:PropertyName>
        <ogc:Literal>#bh.176901.start</ogc:Literal>
      </ogc:PropertyIsEqualTo>
    </ogc:Filter>
  </wfs:Query>
</wfs:GetFeature> 
{code}

-- 
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to