Search in sources :

Example 1 with PolygonFilterFactory

use of org.openstreetmap.osmosis.areafilter.v0_6.PolygonFilterFactory in project osmosis by openstreetmap.

the class AreaFilterPluginLoader method loadTaskFactories.

/**
 * {@inheritDoc}
 */
@Override
public Map<String, TaskManagerFactory> loadTaskFactories() {
    Map<String, TaskManagerFactory> factoryMap;
    factoryMap = new HashMap<String, TaskManagerFactory>();
    factoryMap.put("bounding-box", new BoundingBoxFilterFactory());
    factoryMap.put("bb", new BoundingBoxFilterFactory());
    factoryMap.put("bounding-polygon", new PolygonFilterFactory());
    factoryMap.put("bp", new PolygonFilterFactory());
    factoryMap.put("bounding-box-0.6", new BoundingBoxFilterFactory());
    factoryMap.put("bounding-polygon-0.6", new PolygonFilterFactory());
    return factoryMap;
}
Also used : TaskManagerFactory(org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory) BoundingBoxFilterFactory(org.openstreetmap.osmosis.areafilter.v0_6.BoundingBoxFilterFactory) PolygonFilterFactory(org.openstreetmap.osmosis.areafilter.v0_6.PolygonFilterFactory)

Aggregations

BoundingBoxFilterFactory (org.openstreetmap.osmosis.areafilter.v0_6.BoundingBoxFilterFactory)1 PolygonFilterFactory (org.openstreetmap.osmosis.areafilter.v0_6.PolygonFilterFactory)1 TaskManagerFactory (org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory)1