Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years 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 by anonymous, 5 years ago

Note: I din't remore duplicates here.

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

comment:2 by Klumbumbus, 5 years ago

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

comment:3 by simon04, 5 years ago

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 by Klumbumbus, 5 years ago

Resolution: fixed
Status: newclosed

In 16484/josm:

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

comment:5 by Klumbumbus, 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 Klumbumbus, 5 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.