Opened 5 years ago

Last modified 3 years ago

#17842 new enhancement

Integration with OSM wiki data items — at Version 13

Reported by: Don-vip Owned by: team
Priority: major Milestone: Longterm
Component: Core Version:
Keywords: sotmfr2019 wiki data item wikidata Cc: bagage, francois.lacombe, simon04

Description (last modified by Don-vip)

We could use osmwiki:Data_items in several ways:

We could also document some JOSM features on the OSM wiki data items:

Related: #6450 for Taginfo integration

Change History (13)

comment:1 by Don-vip, 5 years ago

Description: modified (diff)

comment:2 by Don-vip, 5 years ago

Priority: normalmajor

comment:3 by Don-vip, 5 years ago

Description: modified (diff)

comment:4 by Don-vip, 5 years ago

Description: modified (diff)

comment:5 by Don-vip, 5 years ago

Description: modified (diff)

comment:6 by Don-vip, 5 years ago

Description: modified (diff)

comment:7 by Don-vip, 5 years ago

Description: modified (diff)

comment:8 by nyurik, 5 years ago

Thanks @Don-vip for a thorough ticket description :)

I think we might need to create multiple sub-tickets for this. The best first step would be to do the same as iD editor -- use data items to get the multilingual tag documentation (text and an image). Once this is done, we could discuss how we could integrate other features as well.

See related code at https://github.com/openstreetmap/iD/blob/fceb1a86f78deaa0853d454a5fe27d08e9f54da0/modules/services/osm_wikibase.js#L122

More specifically, use the API call to wiki to get the relevant data. Note that in the future, the exact same code will be needed to get other information about the data item. https://github.com/openstreetmap/iD/blob/fceb1a86f78deaa0853d454a5fe27d08e9f54da0/modules/services/osm_wikibase.js#L183

Last edited 5 years ago by nyurik (previous) (diff)

comment:9 by frodrigo, 5 years ago

automatic rules for wrong geometries

We already tried this in Osmose-QA back in 2012, based on wikiinfo box. But it was a fail. We removed the control. It raises too many false positives. The wiki shows ideal case, not what is on the ground or acceptable way of mapping anyway.
https://github.com/osm-fr/osmose-backend/blob/master/plugins/disabled/Wiki.py

Last edited 5 years ago by Don-vip (previous) (diff)

comment:10 by frodrigo, 5 years ago

Some part may be done outside of JOSM, by generating code for tools already existing like JOSM and Osmose-QA.
I am think to generate mapcss and tag2link config, as Osmose-QA also use both.

in reply to:  9 comment:11 by Don-vip, 5 years ago

Replying to frodrigo:

automatic rules for wrong geometries

We already tried this in Osmose-QA back in 2012, based on wikiinfo box. But it was a fail. We removed the control. It raises too many false positives. The wiki shows ideal case, not what is on the ground or acceptable way of mapping anyway.

Maybe we can reconsider the issue if everyone (josm, id, vespucci, osmose...) contributes to fixing the false positives on the wiki? We could start by enabling this test in "info" mode to evaluate the number of false positives.

comment:12 by Don-vip, 5 years ago

Description: modified (diff)

comment:13 by Don-vip, 4 years ago

Cc: simon04 added
Description: modified (diff)
Note: See TracTickets for help on using tickets.