use of uk.me.parabola.mkgmap.osmstyle.NameFinder in project mkgmap by openstreetmap.
the class LinkDestinationHook method init.
public boolean init(ElementSaver saver, EnhancedProperties props) {
this.saver = saver;
nameFinder = new NameFinder(props);
processDestinations = props.containsKey("process-destination");
processExits = props.containsKey("process-exits");
return processDestinations || processExits;
}
use of uk.me.parabola.mkgmap.osmstyle.NameFinder in project mkgmap by openstreetmap.
the class ResidentialHook method init.
public boolean init(ElementSaver saver, EnhancedProperties props) {
if (props.getProperty("residential-hook", true) == false)
return false;
this.nameFinder = new NameFinder(props);
this.saver = saver;
return true;
}
use of uk.me.parabola.mkgmap.osmstyle.NameFinder in project mkgmap by openstreetmap.
the class POIGeneratorHook method init.
public boolean init(ElementSaver saver, EnhancedProperties props) {
poisToAreas = props.containsKey("add-pois-to-areas");
poisToLines = props.containsKey("add-pois-to-lines");
if ((poisToAreas || poisToLines) == false) {
log.info("Disable Areas2POIHook because add-pois-to-areas and add-pois-to-lines option is not set.");
return false;
}
nameFinder = new NameFinder(props);
this.poiPlacementTags = getPoiPlacementTags(props);
this.saver = saver;
return true;
}
use of uk.me.parabola.mkgmap.osmstyle.NameFinder in project mkgmap by openstreetmap.
the class RelationStyleHook method init.
public boolean init(ElementSaver saver, EnhancedProperties props) {
this.saver = saver;
nameFinder = new NameFinder(props);
return super.init(saver, props);
}
Aggregations