Opened 11 months ago

Last modified 9 days 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 Changed 11 months ago by Don-vip

Description: modified (diff)

comment:2 Changed 11 months ago by Don-vip

Priority: normalmajor

comment:3 Changed 11 months ago by Don-vip

Description: modified (diff)

comment:4 Changed 11 months ago by Don-vip

Description: modified (diff)

comment:5 Changed 11 months ago by Don-vip

Description: modified (diff)

comment:6 Changed 11 months ago by Don-vip

Description: modified (diff)

comment:7 Changed 11 months ago by Don-vip

Description: modified (diff)

comment:8 Changed 11 months ago by nyurik

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 11 months ago by nyurik (previous) (diff)

comment:9 Changed 11 months ago by 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.
https://github.com/osm-fr/osmose-backend/blob/master/plugins/disabled/Wiki.py

Last edited 11 months ago by Don-vip (previous) (diff)

comment:10 Changed 11 months ago by frodrigo

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.

comment:11 in reply to:  9 Changed 11 months ago by Don-vip

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 Changed 11 months ago by Don-vip

Description: modified (diff)

comment:13 Changed 5 months ago by Don-vip

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