Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ https://deykun.github.io/maps/nederlandse-heraldiek
https://deykun.github.io/maps/norges-heraldikk

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

## About the process
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.
Expand Down
88 changes: 1 addition & 87 deletions errors.json
Original file line number Diff line number Diff line change
@@ -1,87 +1 @@
[
{
"title": "Missing corrdinates for 'Wapen van Drenthe (heraldiek)'. Page with the location not found.",
"details": [
"Tried pages: Drenthe (heraldiek), Drenthe (heraldiek) (gemeente).",
"You can check if there is a potential way to automate it: scripts/heraldry/utils/fetch-data.ts.",
"",
"Or just tell the tool which page name to use in scripts/heraldry/utils/constants.ts.",
"",
"You will find the proper name of the page in the URL, make sure it has lat and lon.",
"",
"List of errors:",
"Page 'Drenthe (heraldiek)' does not exist.",
"Page 'Drenthe (heraldiek) (gemeente)' does not exist.",
"",
"Item categories:",
"Categorie:Drents symbool",
"Categorie:Nederlands provinciewapen"
],
"url": "https://nl.wikipedia.org/wiki/Wapen_van_Drenthe_(heraldiek)"
},
{
"title": "Missing corrdinates for 'Wapen van Brabant'. Page with the location not found.",
"details": [
"Tried pages: Brabant, Brabant (gemeente).",
"You can check if there is a potential way to automate it: scripts/heraldry/utils/fetch-data.ts.",
"",
"Or just tell the tool which page name to use in scripts/heraldry/utils/constants.ts.",
"",
"You will find the proper name of the page in the URL, make sure it has lat and lon.",
"",
"List of errors:",
"Page 'Brabant' exists but without location, no location.",
"Page 'Brabant (gemeente)' does not exist.",
"",
"Item categories:",
"Categorie:Belgisch subnationaal wapen",
"Categorie:Nederlands provinciewapen",
"Categorie:Noord-Brabants symbool",
"Categorie:Vlaams-Brabant",
"Categorie:Waals-Brabant"
],
"url": "https://nl.wikipedia.org/wiki/Wapen_van_Brabant"
},
{
"title": "Missing corrdinates for 'Wapen van Limburg (Nederland)'. Page with the location not found.",
"details": [
"Tried pages: Limburg (Nederland), Limburg (Nederland) (gemeente).",
"You can check if there is a potential way to automate it: scripts/heraldry/utils/fetch-data.ts.",
"",
"Or just tell the tool which page name to use in scripts/heraldry/utils/constants.ts.",
"",
"You will find the proper name of the page in the URL, make sure it has lat and lon.",
"",
"List of errors:",
"Page 'Limburg (Nederland)' exists but without location, no location.",
"Page 'Limburg (Nederland) (gemeente)' does not exist.",
"",
"Item categories:",
"Categorie:Limburgs symbool",
"Categorie:Nederlands provinciewapen"
],
"url": "https://nl.wikipedia.org/wiki/Wapen_van_Limburg_(Nederland)"
},
{
"title": "Missing corrdinates for 'Ommelander wapen'. Page with the location not found.",
"details": [
"Tried pages: Ommelander wapen, Ommelander wapen (gemeente).",
"You can check if there is a potential way to automate it: scripts/heraldry/utils/fetch-data.ts.",
"",
"Or just tell the tool which page name to use in scripts/heraldry/utils/constants.ts.",
"",
"You will find the proper name of the page in the URL, make sure it has lat and lon.",
"",
"List of errors:",
"Page 'Ommelander wapen' exists but without location, no location.",
"Page 'Ommelander wapen (gemeente)' does not exist.",
"",
"Item categories:",
"Categorie:Fries symbool",
"Categorie:Gronings symbool",
"Categorie:Nederlands provinciewapen",
"Categorie:Wikipedia:Onbereikbare externe link"
],
"url": "https://nl.wikipedia.org/wiki/Ommelander_wapen"
}
]
[]
35 changes: 32 additions & 3 deletions public/data/heraldry/pl/filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@
"name": "owl",
"phrases": ["sowa", "sowę"]
},
{
"name": "turtle",
"phrases": ["żółw", "żółwia"]
},
{
"name": "vulture",
"phrases": ["sępie"]
Expand Down Expand Up @@ -150,7 +154,7 @@
},
{
"name": "rooster",
"phrases": ["kogut", "kogutami", "kogutem"],
"phrases": ["kogut", "koguta", "kogutami", "kogutem"],
"exclude": ["Herb gminy Zatory", "Herb Radoszyc"]
},
{
Expand Down Expand Up @@ -256,6 +260,17 @@
"name": "shell",
"phrases": ["muszelka", "muszelki", "muszla", "muszle", "muszlę"]
},
{
"name": "leopard",
"phrases": [
"lampart",
"lamparta",
"lamparty",
"lampartami",
"lamparcie",
"lewarta"
]
},
{
"name": "lion",
"phrases": [
Expand Down Expand Up @@ -348,6 +363,7 @@
"karp",
"karpia",
"karpiami",
"karpie",
"karpiem",
"leszcza",
"leszcze",
Expand Down Expand Up @@ -473,13 +489,15 @@
"kozę",
"kozie",
"koziołek",
"koziołka",
"koziołki",
"kozła",
"kozłem",
"kozłów",
"kozy",
"koźłów",
"kózm kozie"
"kózm kozie",
"pół-kozła"
],
"exclude": ["Herb gminy Abramów"]
},
Expand Down Expand Up @@ -512,7 +530,18 @@
},
{
"name": "ram",
"phrases": ["baran", "baranek", "baranka", "owca"],
"phrases": [
"baran",
"baranek",
"baranka",
"barana",
"owca",
"owcę",
"owczą",
"runo",
"muflona",
"baranią"
],
"exclude": [
"Herb Korsz",
"Herb gminy Tuczępy",
Expand Down
Loading