#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 )
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 by , 5 years ago
comment:2 by , 5 years ago
Milestone: | → 20.05 |
---|---|
Summary: | pseudo (fake) names → warn about descriptive name library |
comment:3 by , 5 years ago
Description: | modified (diff) |
---|---|
Keywords: | wikidata descriptive name added |
Summary: | warn about descriptive name library → Use OSM wiki data to warn about descriptive namen (e.g. library) |
Added to the parent task #17842.
comment:5 by , 5 years ago
I added the most common cases of library. The alternative solution via wiki data items can be tracked at #17842.
comment:6 by , 5 years ago
Summary: | Use OSM wiki data to warn about descriptive namen (e.g. library) → warn about descriptive name library |
---|
"I didn't remove duplicates here" was meant.