Modify

Opened 7 months ago

Closed 6 months ago

Last modified 6 months ago

#19274 closed enhancement (fixed)

warn about descriptive name library

Reported by: josm.sanspourriel Owned by: team
Priority: normal Milestone: 20.05
Component: Core validator Version: tested
Keywords: wikidata, descriptive name Cc:

Description (last modified by simon04)

In https://josm.openstreetmap.de/browser/josm/trunk/resources/data/validator/unnecessary.mapcss
You can add:
[name][name=~/(?i)(library|bibliothèque|Bibliothek)$/][amenity=library],

Better:
use data items (https://wiki.openstreetmap.org/wiki/Data_items) to collect the label and P26 (language restriction) or wikidata (here Q7075) to get the names in all languages:

[name][name=~/^(?i)(library|bibliothèque|biblioteca|Bibliothek|biblioteek|
Bibliothek|ቤተ መጻሕፍት|مكتبة|ܒܝܬ ܟܬܒܐ|biblioteca|bibliothèque|ТІахьалхана|Kitabxana|کیتابخانا (بیتیک ائوی)|китапхана|Kningīnė|бібліятэка|бібліятэка|Бібліятэка|библиотека|लाइब्रेरी|लाइब्रेरी|গ্রন্থাগার|དཔེ་མཛོད་ཁང་།|levraoueg|Biblioteka|biblioteca|Dù-cṳ̆-guāng|ᎪᏪᎵ ᏕᎦᏅ ᏗᎪᎵᏰᏗ|کتێبخانە|knihovna|Вулавăш|llyfrgell|bibliotek|Bibliothek|Kutıbxane|agbalexlefe|βιβλιοθήκη|Library|library|biblioteko|raamatukogu|liburutegi|کتابخانه|kirjasto|bókasavn|Kategorie:Bibleteeken|bibleteek|leabharlann|圖書館|Bibliotèk|biblioteca|Bibliothek|ספרייה|पुस्तकालय|knjižnica|knihownja|bibliyotèk|könyvtár|գրադարան|գրադարան|bibliotheca|perpustakaan|biblioteko|bókasafn|biblioteca|図書館|perpustakaan|ბიბლიოთეკა|кітапхана|បណ្ណាល័យ|grantalaya|도서관|pirtûkxane|pirtûkxane|Лыддьысянін|китепкана|bibliotheca|biblioteka|bibliothéik|Biblioteca|ຫໍສະໝຸດ|biblioteka|biblioteka|bibliotēka|圖書館|кнагагудо|библиотека|വായനശാല|Номын сан|ग्रंथालय|perpustakaan|စာကြည့်တိုက်|ловномакудо|tô͘-su-koán|bibliotek|bökeree|bibliotheek|पुस्तकालय|सफूधुकू|bibliotheek|bibliotek|Bibliotek|bibliotèca|Kirjasto|ପାଠାଗାର|ਲਾਇਬ੍ਰੇਰੀ|Librari|Biblioteka|biblioteka|biblioteca|biblioteca|Ñawiriy wasi|bibliotecă|библиотека|bibbliuteca|leebrar|ڪتب خانو|girjerádju|Kningīnė|biblioteka|පුස්තකාලය|Library|knižnica|knjižnica|kirjerááju|ǩeʹrjjpõrtt|Maktabad|biblioteka|библиотека|библиотека|biblioteka|perpustakaan|bibliotek|maktaba|நூலகம்|గ్రంథాలయము|китобхона|ห้องสมุด|Aklatan|Motlobo wa dibuka|kütüphane|китапханә|китапханә|бібліотека|کتب خانہ|kutubxona|Kirjišt|thư viện|Bibioteke|Sulod-barasahan|图书馆|ביבליאטעק|圖書舘|图书馆|圖書館|图书馆|图书馆|圖書館|圖書館|Tô͘-su-koán|圖書館|圖書舘)$/][amenity=library],

Note: I didn't remove duplicates here

Attachments (0)

Change History (6)

comment:1 Changed 7 months ago by anonymous

Note: I din't remore duplicates here.

"I didn't remove duplicates here" was meant.

comment:2 Changed 7 months ago by Klumbumbus

Milestone: 20.05
Summary: pseudo (fake) nameswarn about descriptive name library

comment:3 Changed 7 months ago by simon04

Description: modified (diff)
Keywords: wikidata descriptive name added
Summary: warn about descriptive name libraryUse OSM wiki data to warn about descriptive namen (e.g. library)

Added to the parent task #17842.

comment:4 Changed 6 months ago by Klumbumbus

Resolution: fixed
Status: newclosed

In 16484/josm:

fix #19274 - Warn about descriptive name library|biblioteca|biblioteka|bibliothek|bibliotheek

comment:5 Changed 6 months ago by Klumbumbus

I added the most common cases of library. The alternative solution via wiki data items can be tracked at #17842.

comment:6 Changed 6 months ago by Klumbumbus

Summary: Use OSM wiki data to warn about descriptive namen (e.g. library)warn about descriptive name library

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.