Evaluating expressions on complex features
------------------------------------------

                 Key: GEOT-2370
                 URL: http://jira.codehaus.org/browse/GEOT-2370
             Project: GeoTools
          Issue Type: Improvement
          Components: core main
    Affects Versions: 2.6-M2
            Reporter: Rini Angreani
            Assignee: Jody Garnett
             Fix For: 2.6-M2
         Attachments: AttributeExpressionImpl.patch

AttributeExpressionImpl evaluate(obj) method cannot be used to evaluate nested 
properties in complex features, eg. 
"gsml:specification/gsml:GeologicUnit/gml:name".
This is needed since I'm trying to take in complex features from a data access 
and transform them into another form of xml (in this case, gsml). 
The xpath attributes of the input features are then mapped into the output 
xpath attributes. 

I only changed one method in AttributeExpressionImpl and it's quite a simple 
change. . 

I've also included a test file in app-schema module for this. Originally I 
wanted to just add the test cases in the existing AttributeExpressionTest in 
gt-main, however I find this is impossible since they depend on some complex 
feature specific classes in app-schema module.



-- 
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

        

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to