Search in sources :

Example 1 with TransformTaskFactory

use of org.openstreetmap.osmosis.tagtransform.v0_6.TransformTaskFactory in project osmosis by openstreetmap.

the class TransformPlugin method loadTaskFactories.

@Override
public Map<String, TaskManagerFactory> loadTaskFactories() {
    TransformTaskFactory transformFactory = new org.openstreetmap.osmosis.tagtransform.v0_6.TransformTaskFactory();
    TransformChangeTaskFactory changeTransformFactory = new org.openstreetmap.osmosis.tagtransform.v0_6.TransformChangeTaskFactory();
    Map<String, TaskManagerFactory> tasks = new HashMap<String, TaskManagerFactory>();
    tasks.put("tag-transform-0.6", transformFactory);
    tasks.put("tag-transform", transformFactory);
    tasks.put("tt", transformFactory);
    tasks.put("tag-transform-change-0.6", changeTransformFactory);
    tasks.put("tag-transform-change", changeTransformFactory);
    tasks.put("ttc", changeTransformFactory);
    return tasks;
}
Also used : TransformChangeTaskFactory(org.openstreetmap.osmosis.tagtransform.v0_6.TransformChangeTaskFactory) HashMap(java.util.HashMap) TaskManagerFactory(org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory) TransformTaskFactory(org.openstreetmap.osmosis.tagtransform.v0_6.TransformTaskFactory)

Aggregations

HashMap (java.util.HashMap)1 TaskManagerFactory (org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory)1 TransformChangeTaskFactory (org.openstreetmap.osmosis.tagtransform.v0_6.TransformChangeTaskFactory)1 TransformTaskFactory (org.openstreetmap.osmosis.tagtransform.v0_6.TransformTaskFactory)1