country numbers in pgn's

Sort:
BrightBlunderOwl

In the PGNs that chess.com shares, there are fields [whitecountry] and [blackcountry]. Does anyone know where I can find the list of those codes?

Belgium seems to be 5, United States 2, Paraguy 109, Peru 110, Spain 163.

[Event "vs Computer"]
[Site "Chess.com"]
[White "AnoukAdel"]
[Black "Antonio-BOT"]
[Result "0-1"]
[WhiteElo "792"]
[BlackElo "1500"]
[TimeControl "1/0"]
[Termination "Antonio-BOT won by resignation"]
[WhiteUrl "https://images.chesscomfiles.com/uploads/v1/user/193072491.15be293c.50x50o.2a1b40395db5.jpg"]
[WhiteCountry "5"]

[WhiteTitle ""]
[BlackUrl "https://images.chesscomfiles.com/uploads/v1/user/66746046.dd495bd0.50x50o.1841f4b7fbd5.png"]
[BlackCountry "109"]

[BlackTitle ""]

Martin_Stahl
AnoukAdel wrote:

In the PGNs that chess.com shares, there are fields [whitecountry] and [blackcountry]. Does anyone know where I can find the list of those codes?

Belgium seems to be 5, United States 2, Paraguy 109, Peru 110, Spain 163.

[Event "vs Computer"]
[Site "Chess.com"]
[White "AnoukAdel"]
[Black "Antonio-BOT"]
[Result "0-1"]
[WhiteElo "792"]
[BlackElo "1500"]
[TimeControl "1/0"]
[Termination "Antonio-BOT won by resignation"]
[WhiteUrl "https://images.chesscomfiles.com/uploads/v1/user/193072491.15be293c.50x50o.2a1b40395db5.jpg"]
[WhiteCountry "5"]

[WhiteTitle ""]
[BlackUrl "https://images.chesscomfiles.com/uploads/v1/user/66746046.dd495bd0.50x50o.1841f4b7fbd5.png"]
[BlackCountry "109"]

[BlackTitle ""]

Where exactly are you getting those PGNs from? Country isn't included in the web export from the archive

BrightBlunderOwl
Martin_Stahl wrote:

Where exactly are you getting those PGNs from? Country isn't included in the web export from the archive

It is, if you first click Analysis, and do the export from over there (the share button is now on the right side).

Martin_Stahl
AnoukAdel wrote:
Martin_Stahl wrote:

Where exactly are you getting those PGNs from? Country isn't included in the web export from the archive

It is, if you first click Analysis, and do the export from over there (the share button is now on the right side).

Are you on one of the apps? I'm not seeing that on the website.

BrightBlunderOwl
Martin_Stahl wrote:
AnoukAdel wrote:
Martin_Stahl wrote:

Where exactly are you getting those PGNs from? Country isn't included in the web export from the archive

It is, if you first click Analysis, and do the export from over there (the share button is now on the right side).

Are you on one of the apps? I'm not seeing that on the website.

No, I'm on the site, on my laptop. First go to Archive, like you said. Click on a game (click on the date). The game opens. Then in your righthand corner below, click Analysis. A new page opens. In that new window, click the share sign, it is now all the way at the bottom right.

Martin_Stahl

I don't see a Country field in the PGN that way.

BrightBlunderOwl

Martin_Stahl

OK, I'm only seeing this out of the Beta. I'll ask about it.

TheDudeRobert

Hi - This is NOT beta. I’ve seen this WhiteCountry and BlackCountry tags in the PGN whenever you click on “share” and select PGN (when pulling up a game from the Library, or from Analysis in Game Review) for quite a while now.

The tags contain a number for the country (as the original post indicated): USA = 2, Vatican City = 147, etc.

Can we get a list of the Country Codes? Thx.

Martin_Stahl
TheDudeRobert wrote:

Hi - This is NOT beta. I’ve seen this WhiteCountry and BlackCountry tags in the PGN whenever you click on “share” and select PGN (when pulling up a game from the Library, or from Analysis in Game Review) for quite a while now.

The tags contain a number for the country (as the original post indicated): USA = 2, Vatican City = 147, etc.

Can we get a list of the Country Codes? Thx.

I followed up with my original report and that data isn't supposed to be exported so I don't believe that staff will release a mapping.

At some point it will likely be removed from exports.

TheDudeRobert

Thank you @Martin_Stahl for the clarification and quick response.