Modify

Opened 9 months ago

Last modified 3 months ago

#17842 new enhancement

Integration with OSM wiki data items

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

Description (last modified by Klumbumbus)

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

Attachments (0)

Change History (14)

comment:1 Changed 9 months ago by Don-vip

Description: modified (diff)

comment:2 Changed 9 months ago by Don-vip

Priority: normalmajor

comment:3 Changed 9 months ago by Don-vip

Description: modified (diff)

comment:4 Changed 9 months ago by Don-vip

Description: modified (diff)

comment:5 Changed 9 months ago by Don-vip

Description: modified (diff)

comment:6 Changed 9 months ago by Don-vip

Description: modified (diff)

comment:7 Changed 9 months ago by Don-vip

Description: modified (diff)

comment:8 Changed 9 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 9 months ago by nyurik (previous) (diff)

comment:9 Changed 9 months ago by frodrigo

automatic rules for wrong geometries

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

Version 0, edited 9 months ago by frodrigo (next)

comment:10 Changed 9 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 9 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 9 months ago by Don-vip

Description: modified (diff)

comment:13 Changed 3 months ago by Don-vip

Cc: simon04 added
Description: modified (diff)

comment:14 Changed 3 months ago by Klumbumbus

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to Don-vip
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.