Modify

Opened 10 years ago

Closed 5 years ago

Last modified 5 years ago

#3540 closed enhancement (fixed)

Update links to OSM wiki in presets.xml to match the wiki's content

Reported by: avarab@… Owned by: team
Priority: major Milestone: 14.01
Component: Internal preset Version: latest
Keywords: preset wiki link update Cc:

Description (last modified by skyper)

I've created a script for the OpenStreetMap website which extracts the complete list of description pages for keys & tags.

It would be interesting if someone were to use the list I generated to update JOSM's presets.xml. Perhaps I could help? Is presets.xml manually maintained now?

Attachments (0)

Change History (21)

comment:1 Changed 10 years ago by stoecker

The links are maintained manually ATM.

comment:2 Changed 9 years ago by ce

Yes, it's currently maintained manually.

comment:3 Changed 9 years ago by ce

Owner: changed from ce to team

comment:4 Changed 6 years ago by skyper

Description: modified (diff)

This is a job for dummies and no human brain is needed. E.g. this should be done automatically by a machine.

comment:5 in reply to:  description Changed 6 years ago by skyper

Replying to avar:

I've created a script for the OpenStreetMap website which extracts the complete list of description pages for keys & tags.

It would be interesting if someone were to use the list I generated to update JOSM's presets.xml. Perhaps I could help?

@avar:
It got quiet. Are you still interested in helping ?

comment:6 Changed 6 years ago by brycenesbitt

I've created a script to document editor top-level support for presets:
http://obviously.com/temp/osm/osmlg.html
Note that the iD editor is currently leading the way in terms of bringing tag documentation directly into the editing experience.

comment:7 in reply to:  6 Changed 6 years ago by skyper

Replying to brycenesbitt:

I've created a script to document editor top-level support for presets:
http://obviously.com/temp/osm/osmlg.html

As already reported on josm-dev@, you still miss some tags which are present JOSM !

  • I am not sure if you properly evaluate the combos.
    • By default all combos allow to enter text, too.
Last edited 6 years ago by skyper (previous) (diff)

comment:8 Changed 6 years ago by brycenesbitt

As it says at the top of http://obviously.com/temp/osm/osmlg.html that grid is the top level presets only (the "item" tag in JOSM, and the equivalent in the others).

A future version will compare combinations supported by each editor. Those will appear under each top level tag (e.g. amenity=toilets combines with toilets:position={squat;seated;urinal} ).

comment:9 in reply to:  8 ; Changed 6 years ago by skyper

Replying to brycenesbitt:

As it says at the top of http://obviously.com/temp/osm/osmlg.html that grid is the top level presets only (the "item" tag in JOSM, and the equivalent in the others).

Please, fill tickets against the editors which support invalid/deprecated tags. Thanks.

comment:10 in reply to:  9 ; Changed 6 years ago by brycenesbitt

Replying to skyper:

Please, fill tickets against the editors which support invalid/deprecated tags. Thanks.

Yes, the goal of creating the comparison grid is to find and report inconsistencies.
---
But the goal of THIS ticket is a minor patch to toilets/drinking water and farm stands.

comment:11 in reply to:  10 Changed 6 years ago by skyper

Replying to brycenesbitt:

Replying to skyper:

But the goal of THIS ticket is a minor patch to toilets/drinking water and farm stands.

EDT: Wrong ticket. We are talking about #8815

So far, I am the only person who did vote (right hand side on top of page), or did someone vote negative ?

Sorry for not mentioning my opinion in words but as I did only comment on format I'd thought it was understood as at least "OK".

Last edited 6 years ago by skyper (previous) (diff)

comment:12 in reply to:  10 Changed 6 years ago by stoecker

But the goal of THIS ticket is a minor patch to toilets/drinking water and farm stands.

Sorry, you mixed tickets also :-)

comment:13 Changed 6 years ago by skyper

Keywords: preset wiki link update added

comment:14 Changed 6 years ago by brycenesbitt

What would be most useful is a script that for each tag in defaultpresets.xml, scans the wiki to find a matching description, and scans for all the supported language variants at the same time.

comment:15 in reply to:  14 Changed 6 years ago by stoecker

Replying to brycenesbitt:

What would be most useful is a script that for each tag in defaultpresets.xml, scans the wiki to find a matching description, and scans for all the supported language variants at the same time.

What do you think how I do update these texts when I do so? :-)

comment:16 Changed 6 years ago by brycenesbitt

Excellent, stoecker. This ticket seemed to presume you needed such a script :-).

comment:17 Changed 6 years ago by stoecker

No. I have one which updates existing information. There is nothing like scan the wiki and update missing keys, ... which this ticket is about. My script takes the currently added link entries and adds missing links for these by scanning the English page.

comment:18 in reply to:  17 Changed 6 years ago by skyper

Replying to stoecker:

No. I have one which updates existing information. There is nothing like scan the wiki and update missing keys, ... which this ticket is about. My script takes the currently added link entries and adds missing links for these by scanning the English page.

Could you run your script again please ? or share it ? - Thanks

I find quite often new translated pages the last days and it would be nice to run it once a month.

comment:19 Changed 6 years ago by stoecker

In 6325/josm:

see #3540 - update translated links to wiki, add update script

comment:20 Changed 5 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 6696/josm:

fix #3540 - Update links to OSM wiki in presets.xml to match the wiki's content

comment:21 Changed 5 years ago by Don-vip

Milestone: 14.01

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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.