Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -487,16 +487,6 @@ private void pass2PoiShardingFromIndex(RocksDB nodeCache,
rec.kind = kind;
rec.id = id;

// Solution: The old workaround is removed. Enrichment is done at query time.
// We no longer try to enrich address nodes during import.

// Buildings are processed in a separate phase and not included as point POIs.
if ("building".equals(rec.type)) {
it.next();
continue;
}

// For way POIs, lat/lon is NaN — resolve from nodeCache/wayIndexDb
byte[] cacheWayNodes = null;
if (Double.isNaN(rec.lat) && kind == 'W') {
cacheWayNodes = resolveWayCenter(rec, nodeCache, wayIndexDb, stats);
Expand Down
Loading