Modify

Opened 3 years ago

Last modified 3 years ago

#21576 new enhancement

Please add support for the species:wikidata=* key, as it is implemented in the iD

Reported by: afanasovich Owned by: floscher
Priority: normal Milestone:
Component: Plugin wikipedia Version:
Keywords: wikidata, additional functions, mapping, tag Cc: simon04

Description (last modified by skyper)

What steps will reproduce the problem?

In the iD-editor, when you enter a value in the species:wikidata a prompt menu is returned.
You can enter the name in Latin or the name of the national language, and the Wikidata key is returned.
In this case, auto-substitution of the key species:wikipedia occurs. It is very convenient.

If the value of species:wikidata is specified, the data leaf_cycle=deciduous and leaf_type=broadleaved are redundant. But if they are needed for storage in the database OSM, then they can be obtained automatically from Wikidata after entering the Wikidata key.


P.S. I'm not a developer, I'm a user. And so I can be wrong in terms, technologies and so on. but if devs implement this, I will be very happy!

Last:Changed Date: 2021-11-01 23:05:46 +0100 (Mon, 01 Nov 2021)
Build-Date:2021-11-01 22:25:18
Revision:18303
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18303 ru) Windows 7 64-Bit
OS Build number: Windows 7 Professional (7601)
Memory Usage: 955 MB / 3614 MB (384 MB allocated, but free)
Java version: 1.8.0_271-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatLightLaf
Screen: \Display0 1920×1200 (scaling 1.00×1.00) \Display1 1600×900 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1251
System property sun.jnu.encoding: Cp1251
Locale info: ru_RU
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\Desktop\josm.jnlp, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=50397, -Djnlpx.jvm=<java.home>\bin\javaw.exe]

Plugins:
+ BuildingGeneralization (36)
+ ColorPlugin (1537115529)
+ EasyPresets (1616852928)
+ FastDraw (35864)
+ ImproveWay (32)
+ MakeParallel (v1.1.0)
+ OpeningHoursEditor (35640)
+ PicLayer (1.0.1)
+ alignways (35753)
+ buildings_tools (35823)
+ flatlaf (35703)
+ imagery_offset_db (35640)
+ indoor_sweepline (35795)
+ indoorhelper (1.2.0)
+ jaxb (35543)
+ jogl (1.2.3)
+ kendzi3d-resources (0.0.2)
+ log4j (35852)
+ reltoolbox (35829)
+ reverter (35846)
+ splinex (35866)
+ terracer (35827)
+ undelete (35848)
+ utilsplugin2 (35856)
+ wikipedia (1.1.4)

Tagging presets:
+ https://raw.githubusercontent.com/ruosm-presets/literan-moscow/master/russian_shops.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/presets/nsi-josm-presets.min.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ https://github.com/kendzi/Simple3dBuildingsPreset/releases/download/0.9_2018-05-08/s3db-preset.zip
+ https://raw.githubusercontent.com/ZKoshak/dendrolog-josm-preset/master/rus-dendrolog.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historic_Stone&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Kerbs&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/SimpleBuildingTags&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LayerChecker&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MappingAccessibility&zip=1
- https://raw.githubusercontent.com/OpenSidewalks/OpenSidewalks-Schema/master/open_sidewalks.mapcss
- https://github.com/igitov/forest-josm-style/archive/master.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksAndFootways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
- <josm.pref>\styles\sit.mapcss

Last errors/warnings:
- 00005.491 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Неправильный jar-файл '<josm.pref>\plugins\wikipedia.jar.new'
- 00005.491 W: Не удалось просканировать файл 'wikipedia.jar.new' на информацию о модулях. Пропуск.
- 00006.405 W: java.util.zip.ZipException: error in opening zip file
- 00006.406 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Неправильный jar-файл '<josm.pref>\plugins\wikipedia.jar.new'
- 00006.406 W: Не удалось просканировать файл 'wikipedia.jar.new' на информацию о модулях. Пропуск.
- 00007.204 W: Не удалось удалить устаревший модуль '<josm.pref>\plugins\flatlaf.jar'.
- 00007.205 W: Не удалось установить скачанный модуль «flatlaf». Пропуск установки. JOSM загрузит старую версию модуля.
- 00007.208 W: Не удалось установить модуль «<josm.pref>\plugins\wikipedia.jar» из временного скачанного файла «<josm.pref>\plugins\wikipedia.jar.new». error in opening zip file: java.util.zip.ZipException: error in opening zip file
- 00018.324 E: Не удалось найти изображение «pics/icons/Russian_Post.svg»
- 00018.325 W: [NODE, CLOSEDWAY, MULTIPOLYGON] Russian Post: Could not get presets icon pics/icons/Russian_Post.svg

Attachments (2)

spesies-wikidata.png (264.7 KB ) - added by afanasovich 3 years ago.
spesies-wikidata.2.png (264.7 KB ) - added by afanasovich 3 years ago.

Download all attachments as: .zip

Change History (11)

by afanasovich, 3 years ago

Attachment: spesies-wikidata.png added

by afanasovich, 3 years ago

Attachment: spesies-wikidata.2.png added

comment:1 by afanasovich, 3 years ago

Description: modified (diff)

comment:2 by afanasovich, 3 years ago

Description: modified (diff)

comment:3 by skyper, 3 years ago

Cc: simon04 added
Component: Core mappaintPlugin wikidata
Description: modified (diff)
Owner: changed from team to taylor.smock
Version: tested

Guess, this would be an enhancement of wikidata or wikipedia plugin.

comment:4 by skyper, 3 years ago

Component: Plugin wikidataPlugin wikipedia
Owner: changed from taylor.smock to floscher

Damn, wikidata is wrong (can we please change its name in trac)

in reply to:  4 ; comment:5 by taylor.smock, 3 years ago

Replying to skyper:

Damn, wikidata is wrong (can we please change its name in trac)

I did originally call the plugin wikidata, but @Don-vip pointed out that it might confuse users. Whoever changes the name in trac should probably change it to osmwiki-dataitem, as that is what I changed it to.

in reply to:  5 ; comment:6 by Klumbumbus, 3 years ago

Replying to taylor.smock:

osmwiki-dataitem, as that is what I changed it to.

But the name of the plugin is "wikipedia"!?
wiki:/Plugins

in reply to:  6 comment:7 by taylor.smock, 3 years ago

Replying to Klumbumbus:

Replying to taylor.smock:

osmwiki-dataitem, as that is what I changed it to.

But the name of the plugin is "wikipedia"!?
wiki:/Plugins

I guess I did a bad job communicating.

There are two different plugins:

  • wikipedia
  • osmwiki-dataitem (formerly wikidata)

The former is a general purpose wikipedia plugin, AFAIK.
The latter is a specific plugin for OSM Wiki Data Items (see https://wiki.openstreetmap.org/wiki/Data_items ). I wrote it specifically so I could add new data items.

comment:8 by Klumbumbus, 3 years ago

Ah ok, I didn't know about the second plugin. I agree "wikidata" would be misleading.

I renamed it in trac to "Plugin osmwiki-dataitem". (Currently there is no ticket assigned.)

comment:9 by skyper, 3 years ago

Thanks

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain floscher.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from floscher to the specified user.
Next status will be 'needinfo'. The owner will be changed from floscher to afanasovich.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from floscher to anonymous. Next status will be 'assigned'.

Add Comment


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