ComplexDataStore configuration improvements
-------------------------------------------

                 Key: GEOT-1322
                 URL: http://jira.codehaus.org/browse/GEOT-1322
             Project: GeoTools
          Issue Type: Improvement
          Components: new modules
    Affects Versions: 2.4.0
            Reporter: Gabriel Roldán
            Assignee: Gabriel Roldán
             Fix For: 2.4.0


A ComplexDataStore configuration consists of an xml file which sets up the 
namespaces, surrogate datastores, target schema locations, and attribute 
mappings between the surrogate feature types and the target schema feature 
types.

The following are sensible improvements over the current structure of the 
mappings:

- change the datastore factory parameter used to locate the mappings file from 
"config" to "url". this way geoserver picks the url up as a relative path if 
needed.
- Remove the section for feature-id mappings and add an {{idExpression}} child 
to the {{AttriubteMapping}} element that replaces {{fidMappings}} in a more 
natural way (no need to keep two mapping entries for attributes with id)
- no need to specify all the xsd files to be processed in order to parse the 
target schema, just the root one is ok, but care has to be taken that the 
imports of other schemas (except for the gml namespace) has to be relative 
paths and no remote URL's


-- 
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to