From 77fdf0203b11a4c3ea1af83ea711baa9709ae737 Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Mon, 21 Oct 2024 10:16:22 -0600 Subject: [PATCH 1/2] Fix module issue in CI Signed-off-by: Taylor Smock --- .github/workflows/scheduled_update.yaml | 1 + tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scheduled_update.yaml b/.github/workflows/scheduled_update.yaml index c68ac8c..8284952 100644 --- a/.github/workflows/scheduled_update.yaml +++ b/.github/workflows/scheduled_update.yaml @@ -19,6 +19,7 @@ jobs: - uses: actions/setup-python@v5 with: cache: 'pip' + python-version: '3.13' - uses: actions/setup-node@v4 with: node-version: 20 diff --git a/tsconfig.json b/tsconfig.json index d715d40..3e2b69e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { "target": "ES2022", - "module": "Node16", - "moduleResolution": "node", + "module": "nodenext", + "moduleResolution": "nodenext", "sourceMap": true, "strictNullChecks": true } From 2ace544eb447e94c02479e8482cdc829bab60c54 Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Mon, 21 Oct 2024 10:17:50 -0600 Subject: [PATCH 2/2] Update data Signed-off-by: Taylor Smock --- index.json | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++- package.json | 2 +- taginfo.json | 46 +++++++++++++++++++++++++++++++++++--- 3 files changed, 105 insertions(+), 5 deletions(-) diff --git a/index.json b/index.json index a41ac10..060a761 100644 --- a/index.json +++ b/index.json @@ -1049,6 +1049,18 @@ "source": "wikidata:P3303", "rank": "normal" }, + { + "key": "Key:INEGI:cve_loc", + "url": "https://www.inegi.org.mx/app/areasgeograficas/?ag=$1", + "source": "wikidata:P1630", + "rank": "normal" + }, + { + "key": "Key:INEGI:MUNID", + "url": "https://www.inegi.org.mx/app/areasgeograficas/?ag=$1", + "source": "wikidata:P1630", + "rank": "normal" + }, { "key": "Key:instagram", "url": "https://www.instagram.com/$1/", @@ -1307,6 +1319,12 @@ "source": "osmwiki:P8", "rank": "normal" }, + { + "key": "Key:protection_title:wikidata", + "url": "https://www.wikidata.org/entity/$1", + "source": "osmwiki:P8", + "rank": "normal" + }, { "key": "Key:railway:wikipedia", "url": "https://wikipedia.org/wiki/$1", @@ -1475,6 +1493,12 @@ "source": "wikidata:P1630", "rank": "preferred" }, + { + "key": "Key:ref:EGID", + "url": "https://api.geo.admin.ch/rest/services/ech/MapServer/ch.bfs.gebaeude_wohnungs_register/$1_0/extendedHtmlPopup", + "source": "wikidata:P1630", + "rank": "normal" + }, { "key": "Key:ref:EU:bwid", "url": "https://badplatsen.havochvatten.se/badplatsen/api/detail/$1", @@ -1847,6 +1871,12 @@ "source": "wikidata:P1630", "rank": "normal" }, + { + "key": "Key:ref:IL:inature", + "url": "https://www.inature.info/wiki/$1", + "source": "osmwiki:P8", + "rank": "normal" + }, { "key": "Key:ref:INEP", "url": "https://culturaeduca.cc/equipamento/escola_detalhe/$1", @@ -1927,7 +1957,7 @@ }, { "key": "Key:ref:isil", - "url": "http://sigel.staatsbibliothek-berlin.de/nc/suche/?isil=$1", + "url": "http://sigel.staatsbibliothek-berlin.de/suche/?isil=$1", "source": "wikidata:P1630", "rank": "normal" }, @@ -1973,6 +2003,24 @@ "source": "wikidata:P1630", "rank": "normal" }, + { + "key": "Key:ref:KGS-PBC", + "url": "https://wikidata-externalid-url.toolforge.org/?url=https%3A%2F%2Fheritage.toolforge.org%2Fapi%2Fapi.php%3Faction%3Dsearch%26format%3Dhtml%26srcountry%3Dch%26srid%3D%251&exp=0*(.*)&id=$1", + "source": "wikidata:P1630", + "rank": "preferred" + }, + { + "key": "Key:ref:KGS-PBC", + "url": "https://heritage.toolforge.org/api/api.php?action=search&format=html&srcountry=ch&srid=$1", + "source": "wikidata:P1630", + "rank": "normal" + }, + { + "key": "Key:ref:KGS-PBC", + "url": "https://heritage.toolforge.org/api/api.php?action=search&format=html&srcountry=ch&srid=$1", + "source": "wikidata:P3303", + "rank": "normal" + }, { "key": "Key:ref:kons", "url": "http://aplikacija.kons.gov.ba/kons/public/nacionalnispomenici/show/$1", @@ -2129,6 +2177,12 @@ "source": "wikidata:P1630", "rank": "preferred" }, + { + "key": "Key:ref:sandre", + "url": "https://id.eaufrance.fr/SysTraitementEauxUsees/$1", + "source": "wikidata:P1630", + "rank": "normal" + }, { "key": "Key:ref:UAI", "url": "http://bibliotheques.enseignementsup-recherche.gouv.fr/FR/annuaire/siege/$1/", @@ -2159,6 +2213,12 @@ "source": "wikidata:P3303", "rank": "normal" }, + { + "key": "Key:ref:US-MA:mhc", + "url": "https://mhc-macris.net/details?mhcid=$1", + "source": "wikidata:P1630", + "rank": "normal" + }, { "key": "Key:ref:US:EIA", "url": "https://www.datacommons.org/browser/eia/pp/$1", diff --git a/package.json b/package.json index 9d63482..e7b8d23 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tag2link", - "version": "2024.8.21", + "version": "2024.10.21", "description": "Formatter URLs for OpenStreetMap tags", "keywords": [ "openstreetmap", diff --git a/taginfo.json b/taginfo.json index 4948cd7..2c32650 100644 --- a/taginfo.json +++ b/taginfo.json @@ -1,10 +1,10 @@ { "data_format": 1, - "data_updated": "20240821T160000Z", + "data_updated": "20241021T160000Z", "project": { "name": "tag2link", "description": "Formatter URLs for OpenStreetMap tags", - "project_url": "https://github.com/osmlab/tag2link", + "project_url": "https://github.com/JOSM/tag2link", "contact_name": "Simon Legner", "contact_email": "Simon.Legner@gmail.com" }, @@ -709,6 +709,14 @@ "key": "icao", "description": "https://www.radarbox.com/data/airports/$1" }, + { + "key": "INEGI:cve_loc", + "description": "https://www.inegi.org.mx/app/areasgeograficas/?ag=$1" + }, + { + "key": "INEGI:MUNID", + "description": "https://www.inegi.org.mx/app/areasgeograficas/?ag=$1" + }, { "key": "instagram", "description": "https://www.instagram.com/$1/" @@ -881,6 +889,10 @@ "key": "piste:website", "description": "$1" }, + { + "key": "protection_title:wikidata", + "description": "https://www.wikidata.org/entity/$1" + }, { "key": "railway:wikipedia", "description": "https://wikipedia.org/wiki/$1" @@ -993,6 +1005,10 @@ "key": "ref:ef", "description": "http://www.marina.difesa.it/cosa-facciamo/per-la-difesa-sicurezza/fari/Pagine/$1.aspx" }, + { + "key": "ref:EGID", + "description": "https://api.geo.admin.ch/rest/services/ech/MapServer/ch.bfs.gebaeude_wohnungs_register/$1_0/extendedHtmlPopup" + }, { "key": "ref:EU:bwid", "description": "https://badplatsen.havochvatten.se/badplatsen/api/detail/$1" @@ -1241,6 +1257,10 @@ "key": "ref:IFOPT", "description": "https://www.fahrplanauskunft-mv.de/vmvsl3plus/departureMonitor?formik=origin%3D$1&lng=en" }, + { + "key": "ref:IL:inature", + "description": "https://www.inature.info/wiki/$1" + }, { "key": "ref:INEP", "description": "https://culturaeduca.cc/equipamento/escola_detalhe/$1" @@ -1295,7 +1315,7 @@ }, { "key": "ref:isil", - "description": "http://sigel.staatsbibliothek-berlin.de/nc/suche/?isil=$1" + "description": "http://sigel.staatsbibliothek-berlin.de/suche/?isil=$1" }, { "key": "ref:isil", @@ -1325,6 +1345,18 @@ "key": "ref:isil", "description": "https://wikidata-externalid-url.toolforge.org/?url=http%3A%2F%2Fwww.sudoc.abes.fr%2Fcbs%2Fxslt%2F%2FDB%3D2.2%2FCMD%3FACT%3DSRCHA%26IKT%3D8888%26SRT%3DRLV%26TRM%3D%251&exp=%5EFR-(%5Cd%7B9%7D)&id=$1" }, + { + "key": "ref:KGS-PBC", + "description": "https://wikidata-externalid-url.toolforge.org/?url=https%3A%2F%2Fheritage.toolforge.org%2Fapi%2Fapi.php%3Faction%3Dsearch%26format%3Dhtml%26srcountry%3Dch%26srid%3D%251&exp=0*(.*)&id=$1" + }, + { + "key": "ref:KGS-PBC", + "description": "https://heritage.toolforge.org/api/api.php?action=search&format=html&srcountry=ch&srid=$1" + }, + { + "key": "ref:KGS-PBC", + "description": "https://heritage.toolforge.org/api/api.php?action=search&format=html&srcountry=ch&srid=$1" + }, { "key": "ref:kons", "description": "http://aplikacija.kons.gov.ba/kons/public/nacionalnispomenici/show/$1" @@ -1429,6 +1461,10 @@ "key": "ref:sandre", "description": "https://www.sandre.eaufrance.fr/geo/CoursEau_Carthage2017/$1" }, + { + "key": "ref:sandre", + "description": "https://id.eaufrance.fr/SysTraitementEauxUsees/$1" + }, { "key": "ref:UAI", "description": "http://bibliotheques.enseignementsup-recherche.gouv.fr/FR/annuaire/siege/$1/" @@ -1449,6 +1485,10 @@ "key": "ref:UAI", "description": "https://www.journaldesfemmes.fr/maman/ecole/etablissement-$1" }, + { + "key": "ref:US-MA:mhc", + "description": "https://mhc-macris.net/details?mhcid=$1" + }, { "key": "ref:US:EIA", "description": "https://www.datacommons.org/browser/eia/pp/$1"