forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
d9a64dc3a8
157 changed files with 3657 additions and 1552 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue