[fdo-trac] #713: Modify FdoSchemaMergeContext to copy class capabilities

FDO trac_fdo at osgeo.org
Mon Oct 25 10:34:34 EDT 2010


#713: Modify FdoSchemaMergeContext to copy class capabilities
-----------------------------+----------------------------------------------
   Reporter:  brentrobinson  |       Owner:  brentrobinson                    
       Type:  defect         |      Status:  new                              
   Priority:  minor          |   Milestone:  3.6.0                            
  Component:  FDO API        |     Version:  3.5.0                            
   Severity:  3              |    Keywords:  Feature Schema copy merge context
External_id:                 |  
-----------------------------+----------------------------------------------
 The following code:


 {{{
 FdoFeatureSchemasP src = /* get some feature schemas somehow */
 FdoFeatureSchemasP dest = FdoFeatureSchemaCollection::Create(NULL);

 FdoSchemaMergeContextP mergeContext =
     FdoSchemaMergeContext::Create( src, true );
 mergeContext->SetIgnoreStates(true);
 mergeContext->SetReplaceClass(true);
 mergeContext->SetCopyElements(true);
 mergeContext->SetUpdSchemas(dest);
 mergeContext->CommitSchemas();
 }}}

 will make a copy of the feature schemas specifies by src. However, any
 class capabilites, defined in src, will not end up in dest.

 This ticket will enhance FDO to copy the class capabilities.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/713>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list