Package org.openstreetmap.osmosis.set.v0_6

Examples of org.openstreetmap.osmosis.set.v0_6.EntityMergerTest


    factoryMap.put("f", new FlattenFilterFactory());
    factoryMap.put("merge", new EntityMergerFactory());
    factoryMap.put("m", new EntityMergerFactory());
    factoryMap.put("merge-change", new ChangeMergerFactory());
    factoryMap.put("mc", new ChangeMergerFactory());
    factoryMap.put("append-change", new ChangeAppenderFactory());
    factoryMap.put("apc", new ChangeAppenderFactory());
    factoryMap.put("simplify-change", new ChangeSimplifierFactory());
    factoryMap.put("simc", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history", new ChangeToFullHistoryConvertorFactory());
    factoryMap.put("cctfh", new ChangeToFullHistoryConvertorFactory());
   
    factoryMap.put("apply-change-0.6", new ChangeApplierFactory());
    factoryMap.put("derive-change-0.6", new ChangeDeriverFactory());
    factoryMap.put("flatten-0.6", new FlattenFilterFactory());
    factoryMap.put("merge-0.6", new EntityMergerFactory());
    factoryMap.put("merge-change-0.6", new ChangeMergerFactory());
    factoryMap.put("append-change-0.6", new ChangeAppenderFactory());
    factoryMap.put("simplify-change-0.6", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history-0.6", new ChangeToFullHistoryConvertorFactory());
   
    return factoryMap;
  }
View Full Code Here


  public Map<String, TaskManagerFactory> loadTaskFactories() {
    Map<String, TaskManagerFactory> factoryMap;
   
    factoryMap = new HashMap<String, TaskManagerFactory>();
   
    factoryMap.put("apply-change", new ChangeApplierFactory());
    factoryMap.put("ac", new ChangeApplierFactory());
    factoryMap.put("derive-change", new ChangeDeriverFactory());
    factoryMap.put("dc", new ChangeDeriverFactory());
    factoryMap.put("flatten", new FlattenFilterFactory());
    factoryMap.put("f", new FlattenFilterFactory());
    factoryMap.put("merge", new EntityMergerFactory());
    factoryMap.put("m", new EntityMergerFactory());
    factoryMap.put("merge-change", new ChangeMergerFactory());
    factoryMap.put("mc", new ChangeMergerFactory());
    factoryMap.put("append-change", new ChangeAppenderFactory());
    factoryMap.put("apc", new ChangeAppenderFactory());
    factoryMap.put("simplify-change", new ChangeSimplifierFactory());
    factoryMap.put("simc", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history", new ChangeToFullHistoryConvertorFactory());
    factoryMap.put("cctfh", new ChangeToFullHistoryConvertorFactory());
   
    factoryMap.put("apply-change-0.6", new ChangeApplierFactory());
    factoryMap.put("derive-change-0.6", new ChangeDeriverFactory());
    factoryMap.put("flatten-0.6", new FlattenFilterFactory());
    factoryMap.put("merge-0.6", new EntityMergerFactory());
    factoryMap.put("merge-change-0.6", new ChangeMergerFactory());
    factoryMap.put("append-change-0.6", new ChangeAppenderFactory());
View Full Code Here

   
    factoryMap = new HashMap<String, TaskManagerFactory>();
   
    factoryMap.put("apply-change", new ChangeApplierFactory());
    factoryMap.put("ac", new ChangeApplierFactory());
    factoryMap.put("derive-change", new ChangeDeriverFactory());
    factoryMap.put("dc", new ChangeDeriverFactory());
    factoryMap.put("flatten", new FlattenFilterFactory());
    factoryMap.put("f", new FlattenFilterFactory());
    factoryMap.put("merge", new EntityMergerFactory());
    factoryMap.put("m", new EntityMergerFactory());
    factoryMap.put("merge-change", new ChangeMergerFactory());
    factoryMap.put("mc", new ChangeMergerFactory());
    factoryMap.put("append-change", new ChangeAppenderFactory());
    factoryMap.put("apc", new ChangeAppenderFactory());
    factoryMap.put("simplify-change", new ChangeSimplifierFactory());
    factoryMap.put("simc", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history", new ChangeToFullHistoryConvertorFactory());
    factoryMap.put("cctfh", new ChangeToFullHistoryConvertorFactory());
   
    factoryMap.put("apply-change-0.6", new ChangeApplierFactory());
    factoryMap.put("derive-change-0.6", new ChangeDeriverFactory());
    factoryMap.put("flatten-0.6", new FlattenFilterFactory());
    factoryMap.put("merge-0.6", new EntityMergerFactory());
    factoryMap.put("merge-change-0.6", new ChangeMergerFactory());
    factoryMap.put("append-change-0.6", new ChangeAppenderFactory());
    factoryMap.put("simplify-change-0.6", new ChangeSimplifierFactory());
View Full Code Here

     
      // If tasks already exist, a change merge task must be used to merge
      // existing output with this task output, otherwise this task can be
      // added to the list directly.
      if (tasks.size() > 0) {
        ChangeMerger changeMerger;
       
        // Create a new change merger merging the last task output with the current task.
        changeMerger = new ChangeMerger(ConflictResolutionMethod.LatestSource, 10);
       
        // Connect the inputs of this merger to the most recent change
        // output and the new change output.
        tasks.get(tasks.size() - 1).setChangeSink(changeMerger.getChangeSink(0));
        changeReader.setChangeSink(changeMerger.getChangeSink(1));
       
        tasks.add(changeReader);
        tasks.add(changeMerger);
       
      } else {
View Full Code Here

    factoryMap.put("dc", new ChangeDeriverFactory());
    factoryMap.put("flatten", new FlattenFilterFactory());
    factoryMap.put("f", new FlattenFilterFactory());
    factoryMap.put("merge", new EntityMergerFactory());
    factoryMap.put("m", new EntityMergerFactory());
    factoryMap.put("merge-change", new ChangeMergerFactory());
    factoryMap.put("mc", new ChangeMergerFactory());
    factoryMap.put("append-change", new ChangeAppenderFactory());
    factoryMap.put("apc", new ChangeAppenderFactory());
    factoryMap.put("simplify-change", new ChangeSimplifierFactory());
    factoryMap.put("simc", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history", new ChangeToFullHistoryConvertorFactory());
    factoryMap.put("cctfh", new ChangeToFullHistoryConvertorFactory());
   
    factoryMap.put("apply-change-0.6", new ChangeApplierFactory());
    factoryMap.put("derive-change-0.6", new ChangeDeriverFactory());
    factoryMap.put("flatten-0.6", new FlattenFilterFactory());
    factoryMap.put("merge-0.6", new EntityMergerFactory());
    factoryMap.put("merge-change-0.6", new ChangeMergerFactory());
    factoryMap.put("append-change-0.6", new ChangeAppenderFactory());
    factoryMap.put("simplify-change-0.6", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history-0.6", new ChangeToFullHistoryConvertorFactory());
   
    return factoryMap;
View Full Code Here

    factoryMap.put("m", new EntityMergerFactory());
    factoryMap.put("merge-change", new ChangeMergerFactory());
    factoryMap.put("mc", new ChangeMergerFactory());
    factoryMap.put("append-change", new ChangeAppenderFactory());
    factoryMap.put("apc", new ChangeAppenderFactory());
    factoryMap.put("simplify-change", new ChangeSimplifierFactory());
    factoryMap.put("simc", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history", new ChangeToFullHistoryConvertorFactory());
    factoryMap.put("cctfh", new ChangeToFullHistoryConvertorFactory());
   
    factoryMap.put("apply-change-0.6", new ChangeApplierFactory());
    factoryMap.put("derive-change-0.6", new ChangeDeriverFactory());
    factoryMap.put("flatten-0.6", new FlattenFilterFactory());
    factoryMap.put("merge-0.6", new EntityMergerFactory());
    factoryMap.put("merge-change-0.6", new ChangeMergerFactory());
    factoryMap.put("append-change-0.6", new ChangeAppenderFactory());
    factoryMap.put("simplify-change-0.6", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history-0.6", new ChangeToFullHistoryConvertorFactory());
   
    return factoryMap;
  }
View Full Code Here

    factoryMap.put("mc", new ChangeMergerFactory());
    factoryMap.put("append-change", new ChangeAppenderFactory());
    factoryMap.put("apc", new ChangeAppenderFactory());
    factoryMap.put("simplify-change", new ChangeSimplifierFactory());
    factoryMap.put("simc", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history", new ChangeToFullHistoryConvertorFactory());
    factoryMap.put("cctfh", new ChangeToFullHistoryConvertorFactory());
   
    factoryMap.put("apply-change-0.6", new ChangeApplierFactory());
    factoryMap.put("derive-change-0.6", new ChangeDeriverFactory());
    factoryMap.put("flatten-0.6", new FlattenFilterFactory());
    factoryMap.put("merge-0.6", new EntityMergerFactory());
    factoryMap.put("merge-change-0.6", new ChangeMergerFactory());
    factoryMap.put("append-change-0.6", new ChangeAppenderFactory());
    factoryMap.put("simplify-change-0.6", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history-0.6", new ChangeToFullHistoryConvertorFactory());
   
    return factoryMap;
  }
View Full Code Here

    factoryMap.put("ac", new ChangeApplierFactory());
    factoryMap.put("derive-change", new ChangeDeriverFactory());
    factoryMap.put("dc", new ChangeDeriverFactory());
    factoryMap.put("flatten", new FlattenFilterFactory());
    factoryMap.put("f", new FlattenFilterFactory());
    factoryMap.put("merge", new EntityMergerFactory());
    factoryMap.put("m", new EntityMergerFactory());
    factoryMap.put("merge-change", new ChangeMergerFactory());
    factoryMap.put("mc", new ChangeMergerFactory());
    factoryMap.put("append-change", new ChangeAppenderFactory());
    factoryMap.put("apc", new ChangeAppenderFactory());
    factoryMap.put("simplify-change", new ChangeSimplifierFactory());
    factoryMap.put("simc", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history", new ChangeToFullHistoryConvertorFactory());
    factoryMap.put("cctfh", new ChangeToFullHistoryConvertorFactory());
   
    factoryMap.put("apply-change-0.6", new ChangeApplierFactory());
    factoryMap.put("derive-change-0.6", new ChangeDeriverFactory());
    factoryMap.put("flatten-0.6", new FlattenFilterFactory());
    factoryMap.put("merge-0.6", new EntityMergerFactory());
    factoryMap.put("merge-change-0.6", new ChangeMergerFactory());
    factoryMap.put("append-change-0.6", new ChangeAppenderFactory());
    factoryMap.put("simplify-change-0.6", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history-0.6", new ChangeToFullHistoryConvertorFactory());
   
View Full Code Here

   
    factoryMap.put("apply-change", new ChangeApplierFactory());
    factoryMap.put("ac", new ChangeApplierFactory());
    factoryMap.put("derive-change", new ChangeDeriverFactory());
    factoryMap.put("dc", new ChangeDeriverFactory());
    factoryMap.put("flatten", new FlattenFilterFactory());
    factoryMap.put("f", new FlattenFilterFactory());
    factoryMap.put("merge", new EntityMergerFactory());
    factoryMap.put("m", new EntityMergerFactory());
    factoryMap.put("merge-change", new ChangeMergerFactory());
    factoryMap.put("mc", new ChangeMergerFactory());
    factoryMap.put("append-change", new ChangeAppenderFactory());
    factoryMap.put("apc", new ChangeAppenderFactory());
    factoryMap.put("simplify-change", new ChangeSimplifierFactory());
    factoryMap.put("simc", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history", new ChangeToFullHistoryConvertorFactory());
    factoryMap.put("cctfh", new ChangeToFullHistoryConvertorFactory());
   
    factoryMap.put("apply-change-0.6", new ChangeApplierFactory());
    factoryMap.put("derive-change-0.6", new ChangeDeriverFactory());
    factoryMap.put("flatten-0.6", new FlattenFilterFactory());
    factoryMap.put("merge-0.6", new EntityMergerFactory());
    factoryMap.put("merge-change-0.6", new ChangeMergerFactory());
    factoryMap.put("append-change-0.6", new ChangeAppenderFactory());
    factoryMap.put("simplify-change-0.6", new ChangeSimplifierFactory());
    factoryMap.put("convert-change-to-full-history-0.6", new ChangeToFullHistoryConvertorFactory());
View Full Code Here

  /**
   * Creates a new instance.
   */
  public ChangeSimplifier() {
    orderingValidator = new SortedHistoryChangePipeValidator();
    changeSimplifier = new ChangeSimplifierImpl();
   
    orderingValidator.setChangeSink(changeSimplifier);
  }
View Full Code Here

TOP

Related Classes of org.openstreetmap.osmosis.set.v0_6.EntityMergerTest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.