Skip to content

Commit 029c3fa

Browse files
authored
🇵🇱 Wikipedia data and images of Polish coats of arms have been reindexed (2598 -> 2633) (#147)
* Polish data refreshed * Removed unused CoA * Missing ram marker added * Wikipedia data parse * Data yodate
1 parent 88a9495 commit 029c3fa

File tree

13,085 files changed

+62272
-49255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

13,085 files changed

+62272
-49255
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ https://deykun.github.io/maps/nederlandse-heraldiek
2424
https://deykun.github.io/maps/norges-heraldikk
2525

2626
### Coats of arms in Poland 🇵🇱
27-
https://deykun.github.io/maps/heraldyka
27+
https://deykun.github.io/maps/heraldyka (Data reindexed: 26.10.2025)
2828

2929
## About the process
3030
Some countries have dedicated pages for the coat of arms of smaller cities and municipalities on Wikipedia (e.g. Estonia, Finland, Poland). For those, I visit the category page containing the list of such coats of arms and parse them to obtain initial links to those pages (they are stored in: `scripts/heraldry/[country]/constants.ts`). Using npm's `wikipedia` package, I fetch the coat of arms page (save the main image and descriptions) and attempt to locate the link in the data to fetch the page of the city or town in order to retrieve its location. These cases are the best because they provide me with clear descriptions and images.

‎errors.json‎

Lines changed: 1 addition & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1 @@
1-
[
2-
{
3-
"title": "Missing corrdinates for 'Wapen van Drenthe (heraldiek)'. Page with the location not found.",
4-
"details": [
5-
"Tried pages: Drenthe (heraldiek), Drenthe (heraldiek) (gemeente).",
6-
"You can check if there is a potential way to automate it: scripts/heraldry/utils/fetch-data.ts.",
7-
"",
8-
"Or just tell the tool which page name to use in scripts/heraldry/utils/constants.ts.",
9-
"",
10-
"You will find the proper name of the page in the URL, make sure it has lat and lon.",
11-
"",
12-
"List of errors:",
13-
"Page 'Drenthe (heraldiek)' does not exist.",
14-
"Page 'Drenthe (heraldiek) (gemeente)' does not exist.",
15-
"",
16-
"Item categories:",
17-
"Categorie:Drents symbool",
18-
"Categorie:Nederlands provinciewapen"
19-
],
20-
"url": "https://nl.wikipedia.org/wiki/Wapen_van_Drenthe_(heraldiek)"
21-
},
22-
{
23-
"title": "Missing corrdinates for 'Wapen van Brabant'. Page with the location not found.",
24-
"details": [
25-
"Tried pages: Brabant, Brabant (gemeente).",
26-
"You can check if there is a potential way to automate it: scripts/heraldry/utils/fetch-data.ts.",
27-
"",
28-
"Or just tell the tool which page name to use in scripts/heraldry/utils/constants.ts.",
29-
"",
30-
"You will find the proper name of the page in the URL, make sure it has lat and lon.",
31-
"",
32-
"List of errors:",
33-
"Page 'Brabant' exists but without location, no location.",
34-
"Page 'Brabant (gemeente)' does not exist.",
35-
"",
36-
"Item categories:",
37-
"Categorie:Belgisch subnationaal wapen",
38-
"Categorie:Nederlands provinciewapen",
39-
"Categorie:Noord-Brabants symbool",
40-
"Categorie:Vlaams-Brabant",
41-
"Categorie:Waals-Brabant"
42-
],
43-
"url": "https://nl.wikipedia.org/wiki/Wapen_van_Brabant"
44-
},
45-
{
46-
"title": "Missing corrdinates for 'Wapen van Limburg (Nederland)'. Page with the location not found.",
47-
"details": [
48-
"Tried pages: Limburg (Nederland), Limburg (Nederland) (gemeente).",
49-
"You can check if there is a potential way to automate it: scripts/heraldry/utils/fetch-data.ts.",
50-
"",
51-
"Or just tell the tool which page name to use in scripts/heraldry/utils/constants.ts.",
52-
"",
53-
"You will find the proper name of the page in the URL, make sure it has lat and lon.",
54-
"",
55-
"List of errors:",
56-
"Page 'Limburg (Nederland)' exists but without location, no location.",
57-
"Page 'Limburg (Nederland) (gemeente)' does not exist.",
58-
"",
59-
"Item categories:",
60-
"Categorie:Limburgs symbool",
61-
"Categorie:Nederlands provinciewapen"
62-
],
63-
"url": "https://nl.wikipedia.org/wiki/Wapen_van_Limburg_(Nederland)"
64-
},
65-
{
66-
"title": "Missing corrdinates for 'Ommelander wapen'. Page with the location not found.",
67-
"details": [
68-
"Tried pages: Ommelander wapen, Ommelander wapen (gemeente).",
69-
"You can check if there is a potential way to automate it: scripts/heraldry/utils/fetch-data.ts.",
70-
"",
71-
"Or just tell the tool which page name to use in scripts/heraldry/utils/constants.ts.",
72-
"",
73-
"You will find the proper name of the page in the URL, make sure it has lat and lon.",
74-
"",
75-
"List of errors:",
76-
"Page 'Ommelander wapen' exists but without location, no location.",
77-
"Page 'Ommelander wapen (gemeente)' does not exist.",
78-
"",
79-
"Item categories:",
80-
"Categorie:Fries symbool",
81-
"Categorie:Gronings symbool",
82-
"Categorie:Nederlands provinciewapen",
83-
"Categorie:Wikipedia:Onbereikbare externe link"
84-
],
85-
"url": "https://nl.wikipedia.org/wiki/Ommelander_wapen"
86-
}
87-
]
1+
[]

‎public/data/heraldry/pl/filters.json‎

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@
115115
"name": "owl",
116116
"phrases": ["sowa", "sowÄ™"]
117117
},
118+
{
119+
"name": "turtle",
120+
"phrases": ["żółw", "żółwia"]
121+
},
118122
{
119123
"name": "vulture",
120124
"phrases": ["sępie"]
@@ -150,7 +154,7 @@
150154
},
151155
{
152156
"name": "rooster",
153-
"phrases": ["kogut", "kogutami", "kogutem"],
157+
"phrases": ["kogut", "koguta", "kogutami", "kogutem"],
154158
"exclude": ["Herb gminy Zatory", "Herb Radoszyc"]
155159
},
156160
{
@@ -256,6 +260,17 @@
256260
"name": "shell",
257261
"phrases": ["muszelka", "muszelki", "muszla", "muszle", "muszlÄ™"]
258262
},
263+
{
264+
"name": "leopard",
265+
"phrases": [
266+
"lampart",
267+
"lamparta",
268+
"lamparty",
269+
"lampartami",
270+
"lamparcie",
271+
"lewarta"
272+
]
273+
},
259274
{
260275
"name": "lion",
261276
"phrases": [
@@ -348,6 +363,7 @@
348363
"karp",
349364
"karpia",
350365
"karpiami",
366+
"karpie",
351367
"karpiem",
352368
"leszcza",
353369
"leszcze",
@@ -473,13 +489,15 @@
473489
"kozÄ™",
474490
"kozie",
475491
"koziołek",
492+
"koziołka",
476493
"koziołki",
477494
"kozła",
478495
"kozłem",
479496
"kozłów",
480497
"kozy",
481498
"koźłów",
482-
"kózm kozie"
499+
"kózm kozie",
500+
"pół-kozła"
483501
],
484502
"exclude": ["Herb gminy Abramów"]
485503
},
@@ -512,7 +530,18 @@
512530
},
513531
{
514532
"name": "ram",
515-
"phrases": ["baran", "baranek", "baranka", "owca"],
533+
"phrases": [
534+
"baran",
535+
"baranek",
536+
"baranka",
537+
"barana",
538+
"owca",
539+
"owcÄ™",
540+
"owczÄ…",
541+
"runo",
542+
"muflona",
543+
"baraniÄ…"
544+
],
516545
"exclude": [
517546
"Herb Korsz",
518547
"Herb gminy Tuczępy",

0 commit comments

Comments
 (0)