use of uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryGrid in project mkgmap by openstreetmap.
the class LocationHook method end.
public void end() {
long t1 = System.currentTimeMillis();
log.info("Starting with location hook");
Area nodesBounds = saver.getDataBoundingBox();
if (nodesBounds != null) {
Area bbox = saver.getBoundingBox();
// calculate the needed bounding box
Area searchBounds = bbox.intersect(nodesBounds);
boundaryGrid = new BoundaryGrid(boundaryDirName, searchBounds, props);
processLocationRelevantElements();
boundaryGrid = null;
}
long dt = (System.currentTimeMillis() - t1);
log.info("======= LocationHook Stats =====");
log.info("QuadTree searches :", cntQTSearch);
log.info("unsuccesfull :", cntNotFnd);
log.info("unsuccesfull for ways:", cntwayNotFnd);
log.info("Location hook finished in", dt, "ms");
}
Aggregations