Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LB-1088: Separate North Korea and South Korea in artist origins map #1958

Merged
merged 2 commits into from
Apr 21, 2022

Conversation

MonkeyDo
Copy link
Contributor

Yes, we're fixing Korea. No, we're not talking about international politics.

MusicBrainz has separate areas for North Korea and South Korea but the LB artist origins map does not distinguish between the two. We're fixing that.
I added the geoJSON entries for the separate countries, which I got from https://geojson-maps.ash.ms/

Also moved the GeoJSON (world_countries.json) file to stats UI folder, it was incorrectly moved to the tests folder during a repo structure refactor (#1867)

The result:

image

image

MusicBrainz has separate areas for North Korea and South Korea but the LB artist origins map does not distinguish between the two.
Got the geoJSON entries from https://geojson-maps.ash.ms/

Also move the GeoJSON file to stats folder, it was incorrectly moved to the tests folder during a repo structure refactor
@MonkeyDo MonkeyDo requested a review from amCap1712 April 19, 2022 11:12
Just moved it, forgot to update path
Copy link
Member

@amCap1712 amCap1712 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

@MonkeyDo MonkeyDo merged commit 4d53e58 into master Apr 21, 2022
@MonkeyDo MonkeyDo deleted the monkey-fix-korea branch April 21, 2022 11:12
Maxr1998 added a commit to Maxr1998/listenbrainz-server that referenced this pull request Aug 28, 2022
The stats endpoint returns country codes as ISO 3166 alpha-3 code via pycountry.
LB-1088 (metabrainz#1958) separated the two countries on the world map, but incorrectly used two letter codes, breaking the map matching in the frontend.
This commit changes the country codes to the correct alpha-3 codes as defined by the ISO.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants