fix: skip places that no longer exist in geo import (#17637)

This commit is contained in:
Nils Uliczka 2025-04-15 23:27:47 +02:00 committed by GitHub
parent 7efcba2b12
commit be2f670d35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -247,7 +247,7 @@ export class MapRepository {
let futures = []; let futures = [];
for await (const line of lineReader) { for await (const line of lineReader) {
const lineSplit = line.split('\t'); const lineSplit = line.split('\t');
if (lineSplit[7] === 'PPLX' && lineSplit[8] !== 'AU') { if ((lineSplit[7] === 'PPLX' && lineSplit[8] !== 'AU') || lineSplit[7] === 'PPLH') {
continue; continue;
} }