Search in sources :

Example 1 with PbfReaderFactory

use of org.openstreetmap.osmosis.pbf2.v0_6.PbfReaderFactory in project osmosis by openstreetmap.

the class PbfPluginLoader method loadTaskFactories.

@Override
public Map<String, TaskManagerFactory> loadTaskFactories() {
    Map<String, TaskManagerFactory> factoryMap;
    PbfReaderFactory reader = new PbfReaderFactory();
    factoryMap = new HashMap<String, TaskManagerFactory>();
    factoryMap.put("read-pbf-fast", reader);
    factoryMap.put("rbf", reader);
    factoryMap.put("read-pbf-fast-0.6", reader);
    return factoryMap;
}
Also used : PbfReaderFactory(org.openstreetmap.osmosis.pbf2.v0_6.PbfReaderFactory) TaskManagerFactory(org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory)

Aggregations

TaskManagerFactory (org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory)1 PbfReaderFactory (org.openstreetmap.osmosis.pbf2.v0_6.PbfReaderFactory)1