I would not mind sending you the file (not sure how to go about that) but I also would not mind just doing it for you to help out if you share the code.
I sent a DM:)
Hey man!
Awesome deck! I’m using to study my state’s cities (Rio de Janeiro - Brazil)
The first thing I noticed is that the pin on the answer map is a little to big since some cities are small, so it was dificult to see exactly where the city was in the first place, but then I found in the code how to make it smaller.
Then I got it to work by retrieving dynamically the city’s map from wikicommons like this commons|wikimedia|org/wiki/File:RiodeJaneiro_Municip_NovaIguacu.svg (i cant post links, just add h t t p in the front to work, and change | for dot) so it can show better the city boundaries and not only the main location.
I was wondering since you have the peg so we can click and also the peg of the actual location, is it possible to create like in geoguesr and calculate the distance between chosen location and correct location? that would be awesome! Just an idea
I saw that there are a lot of missing cities, can I send to you and you add since I saw the other answer that you have the script?
I tried making a deck like this a long time ago with every regions of the world, and I spent a lot of time trying to see how it could be automated, but it turned out to be to difficult since the maps are not structured and named properly on Wikipedia so it would have to be made manually.
Another problem is that it would require way more memory than someone would want to download, let alone be possible on AnkiWeb. So it would have to use references and only work when online.
is it possible to create like in geoguesr and calculate the distance between chosen location and correct location?
It is possible, yes, but following the concept of Anki, it is not Anki which tells you whether you got it right, but yourself. It also makes for faster reviews this way.
I saw that there are a lot of missing cities, can I send to you and you add since I saw the other answer that you have the script?
You can send some examples yes, then I can see what they look like in Wikidata and see if it is possible to add them (in some countries they are not called a “city” or “town”). But if I were to add all types of human settlements including villages it would take very long to gather the data and result in millions of cards which would mean it could not be shared on AnkiWeb.
Even if its not staying completely true to the Anki style, it could still be interesting to implement.
Since there is already the code to plonk down a pin, it would only be a matter of applying a distance formula.
It would require that the maps’ borders were added to the deck and calculate the coordinates on review. Some maps are complex like this: Module:Location map/data/Japan - Wikipedia, but I don’t think it will make a big difference in loading time still, so I’ll consider doing it.