* @param bboxCtx
* The bounding box data.
*/
private void populateNodeIds(BoundingBoxContext bboxCtx) {
ReleasableIterator<Long> nodeIdsForTileset;
IdTracker idTracker;
idTracker = new DynamicIdTracker();
// Search through all nodes in the tile range and add them to a
// temporary id tracker. This temporary id tracker allows all node ids
// to be sorted ascendingly prior to retrieving the nodes themselves
// which improves index performance.
nodeIdsForTileset = getNodeIdsForTileRange(bboxCtx.minimumTile, bboxCtx.maximumTile);
try {
while (nodeIdsForTileset.hasNext()) {
idTracker.set(nodeIdsForTileset.next());
}
} finally {
nodeIdsForTileset.release();
}