Package org.openstreetmap.osmosis.core.pipeline.v0_6

Examples of org.openstreetmap.osmosis.core.pipeline.v0_6.MultiSinkMultiChangeSinkRunnableSourceManager


    label = getStringArgument(taskConfig, ARG_LABEL, DEFAULT_LABEL);
   
    // Build the task object.
    task = new EntityProgressLogger(interval * 1000, label);
   
    return new SinkSourceManager(taskConfig.getId(), task, taskConfig.getPipeArgs());
  }
View Full Code Here


    cascadingRelations = getBooleanArgument(taskConfig, ARG_CASCADING_RELATIONS, DEFAULT_CASCADING_RELATIONS);
   
    // Create a file object from the file name provided.
    file = new File(fileName);
   
    return new SinkSourceManager(
      taskConfig.getId(),
      new PolygonFilter(idTrackerType, file, clipIncompleteEntities, completeWays, completeRelations,
                cascadingRelations),
      taskConfig.getPipeArgs()
    );
View Full Code Here

      int y1 = getIntegerArgument(taskConfig, ARG_Y1);
      top = yToLat(zoom, y1);
      bottom = yToLat(zoom, getIntegerArgument(taskConfig, ARG_Y2, y1) + 1);
    }
   
    return new SinkSourceManager(
      taskConfig.getId(),
      new BoundingBoxFilter(idTrackerType, left, right, top, bottom, clipIncompleteEntities, completeWays,
          completeRelations, cascadingRelations),
      taskConfig.getPipeArgs()
    );
View Full Code Here

  @Override
  protected TaskManager createTaskManagerImpl(TaskConfiguration taskConfig) {
   
    String origin = getStringArgument(taskConfig, ARG_ORIGIN, DEFAULT_ORIGIN);
   
    return new SinkSourceManager(taskConfig.getId(),
        new BoundComputer(origin),
        taskConfig.getPipeArgs());
  }
View Full Code Here

      }

      newBound = new Bound(right, left, top, bottom, origin);
    }

    return new SinkSourceManager(taskConfig.getId(),
        new BoundSetter(newBound), taskConfig.getPipeArgs());
  }
View Full Code Here

  protected TaskManager createTaskManagerImpl(TaskConfiguration taskConfig) {
    String configFile =
        getStringArgument(taskConfig, "file", getDefaultStringArgument(taskConfig, "transform.xml"));
    String statsFile =
        getStringArgument(taskConfig, "stats", null);
    return new SinkSourceManager(taskConfig.getId(), new TransformTask(configFile, statsFile),
        taskConfig.getPipeArgs());
  }
View Full Code Here

TOP

Related Classes of org.openstreetmap.osmosis.core.pipeline.v0_6.MultiSinkMultiChangeSinkRunnableSourceManager

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.