use of uk.me.parabola.mkgmap.osmstyle.StyledConverter in project mkgmap by openstreetmap.
the class OsmMapDataSource method createConverter.
/**
* Create the appropriate converter from osm to garmin styles.
*/
protected void createConverter() {
EnhancedProperties props = getConfig();
Style style = StyleImpl.readStyle(props);
setStyle(style);
usedTags.addAll(style.getUsedTags());
usedTags.addAll(NameFinder.getNameTags(props));
converter = new StyledConverter(style, mapper, props);
}
Aggregations