Search in sources :

Example 1 with TdbBuilder

use of uk.me.parabola.mkgmap.combiners.TdbBuilder in project mkgmap by openstreetmap.

the class Main method addTdbBuilder.

/**
 * Add the builders for the TDB and overview map.  These are always
 * generated together as we use some info that is calculated when constructing
 * the overview map in the TDB file.
 */
private void addTdbBuilder() {
    if (!tdbBuilderAdded) {
        OverviewBuilder overviewBuilder = new OverviewBuilder();
        addCombiner("img", overviewBuilder);
        TdbBuilder tdbBuilder = new TdbBuilder(overviewBuilder);
        addCombiner("tdb", tdbBuilder);
        tdbBuilderAdded = true;
    }
}
Also used : OverviewBuilder(uk.me.parabola.mkgmap.combiners.OverviewBuilder) TdbBuilder(uk.me.parabola.mkgmap.combiners.TdbBuilder)

Aggregations

OverviewBuilder (uk.me.parabola.mkgmap.combiners.OverviewBuilder)1 TdbBuilder (uk.me.parabola.mkgmap.combiners.TdbBuilder)1