Merge develop

This commit is contained in:
Pieter Vander Vennet 2024-05-23 11:38:29 +02:00
commit d9a64dc3a8
157 changed files with 3657 additions and 1552 deletions

View file

@ -103,8 +103,8 @@ export default class TagInfo {
return undefined
}
}
private static readonly blacklist =["VI","GF","PR"]
public static async getGlobalDistributionsFor(key: string, value?: string): Promise<Record<string, TagInfoStats>> {
const countriesAll = await this.geofabrikCountries()
const countries = countriesAll.map(c => c["iso3166-1:alpha2"]?.[0]).filter(c => !!c && TagInfo.blacklist.indexOf(c) < 0)