Modify

Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#14578 closed enhancement (fixed)

[Patch] Use osmhv as external history viewer

Reported by: jengelh@… Owned by: team
Priority: normal Milestone: 17.09
Component: Core Version:
Keywords: history changeset Cc:

Description

Pressing Ctrl-H gives a dialog box "History for way 45175455". In this dialog box, clicking on the changeset ID opens, in an external browser, the URL

http://www.openstreetmap.org/changeset/45175455

I suggest to change the default to

http://osmhv.openstreetmap.de/changeset.jsp?id=45175455

(Applies to any object, not specifically 45175455.)

Attachments (5)

buttonhistoryviewer.png (18.0 KB ) - added by Klumbumbus 8 years ago.
14578.patch (3.7 KB ) - added by simon04 7 years ago.
Screenshot_20170728_224505.png (10.8 KB ) - added by simon04 7 years ago.
Screenshot_20170917_122942.png (10.2 KB ) - added by simon04 7 years ago.
Screenshot_20170917_123054.png (11.7 KB ) - added by simon04 7 years ago.

Download all attachments as: .zip

Change History (29)

comment:1 by stoecker, 8 years ago

Milestone: 17.04

Not as a replacement, but additionally I'd agree. It is a very good display of the changes.

comment:2 by bastiK, 8 years ago

Achavi is also quite nice, if not better: http://overpass-api.de/achavi/?changeset=45175455

comment:3 by Klumbumbus, 8 years ago

I also use achavi when analyzing changesets. We could add a achavi button in the history viewer beside the changeset button.

comment:4 by Don-vip, 8 years ago

Keywords: history changeset added

comment:5 by stoecker, 8 years ago

What about a configuration option choosing one of the three then? Probably better than adding multiple buttons.

comment:6 by Klumbumbus, 8 years ago

Hm, I don't want to decide on one of them. The josm history viewer is also very helpful and can present some things better than e.g. achavi (e.g. changes on relations)

Also the josm history viewer is for displaying changes of a single object, while other sites like achavi present changes of whole changesets. So achavi is more like an alternative for the josm Help/Dialog/ChangesetManager (but would be nice if it is linked in the history browser)

Last edited 8 years ago by Klumbumbus (previous) (diff)

comment:7 by stoecker, 8 years ago

What about a setting in prefs for the default and the small arrow button (like for search) for additionally choosing the final one?

@Klumbumbus: What do you mean? We don't want to replace JOSM code, only change the target of the already existing button to call external webpage.

by Klumbumbus, 8 years ago

Attachment: buttonhistoryviewer.png added

comment:8 by Klumbumbus, 8 years ago

You mean that this button would get a dropdown list to choose another target then the deafult? That sounds fine.

comment:9 by Don-vip, 8 years ago

The button opens the changeset manager. It would be better to add a drop down arrow next to the link on its right, which proposes the two other suggested websites.

comment:10 by stoecker, 8 years ago

Hmm, ah, should have clicked the button then before typing :-)

comment:11 by Don-vip, 7 years ago

Milestone: 17.0417.05

comment:12 by Don-vip, 7 years ago

Ticket #14739 has been marked as a duplicate of this ticket.

comment:13 by Don-vip, 7 years ago

Milestone: 17.0517.06

comment:14 by Don-vip, 7 years ago

Milestone: 17.0617.07

comment:15 by Don-vip, 7 years ago

Milestone: 17.0717.08

by simon04, 7 years ago

Attachment: 14578.patch added

by simon04, 7 years ago

in reply to:  8 comment:16 by simon04, 7 years ago

Summary: Use osmhv as external history viewer[Patch] Use osmhv as external history viewer


comment:17 by Don-vip, 7 years ago

Nice! It would be great also to be able to access these links from changeset manager. I'm not sure however where this should fit in the HMI.

comment:18 by Klumbumbus, 7 years ago

Can we use labels instead of blank URLs, e.g. Open in achavi and icons if available?

comment:19 by Klumbumbus, 7 years ago

It seems achavi and osmhv don't have logos. For achavi we could maybe use the left part of the overpass-api logo

According to osmwiki:Achavi achavi doesn't work for changesets before september 2012. The achavi link in JOSM should be greyed out for older changesets.

in reply to:  19 comment:20 by Don-vip, 7 years ago

Replying to Klumbumbus:

According to osmwiki:Achavi achavi doesn't work for changesets before september 2012. The achavi link in JOSM should be greyed out for older changesets.

The reason why:

Limitation : The earliest possible date to return a result is 2012-09-12 06:55:00 UTC (1347432900 in epoch seconds).

It corresponds to the first change included in the first ODbL compliant planet file, which was created on 2012-09-14. If your query asks for an object in a state prior to what this planet file contains, Overpass API will return the version contained in the first ODbL compliant planet.

comment:21 by Don-vip, 7 years ago

Milestone: 17.0817.09

comment:22 by Don-vip, 7 years ago

@Simon: are you still working on it? It would be a great enhancement for this month.

comment:23 by simon04, 7 years ago

Resolution: fixed
Status: newclosed

In 12871/josm:

fix #14578 - Open external history viewers

Popup menu is added to version info of history dialog and changeset manager.

by simon04, 7 years ago

by simon04, 7 years ago

comment:24 by Don-vip, 7 years ago

Nice!

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. Next status will be 'reopened'.

Add Comment


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