Modify

Opened 16 years ago

Closed 14 years ago

#3595 closed enhancement (fixed)

[Patch] JOSM downloads too small areas when pasting OSM link

Reported by: Bürste Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by simon04)

If you cut a link from osm and pasting it into the download dialog the zoom=xx seems to not parsed or calculated wrong. JOSM downloads a very small area, would be zoom=19 or more if the link contains zoom=16.

It's annoying because you have to zoom out and redownload ... the server have to serve the same data twice (the data which was downloaded the first time) and it would save time for the user. So I think it's major.

Attachments (1)

3595.patch (2.1 KB ) - added by simon04 14 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Bürste, 16 years ago

Summary: JOSM downloads to small areas when pasting OSM linkJOSM downloads too small areas when pasting OSM link

typo

comment:2 by jttt, 16 years ago

Unfortunatelly it's not possible to download exactly the area you see in your browser because url contains only size of on map tile, not shown bounding box.

As a workaround I would suggest to paste url and then switch to Slippy map tab and select the area you want to download.

comment:3 by jttt, 16 years ago

Priority: majorminor
Type: defectenhancement

This can be fixed by specifying usuall browser size. Then josm will have all necessary information to download exactly what you see in your browser.

But I think this is a minor thing when we have other ways to select data, like Slippy map and Places.

comment:4 by Bürste, 16 years ago

Priority: minornormal

@ jitt, we don't have to set some browser size, we got the screensize itself, doesn't we? ...

You really often got links to a position on IRC or web and want to look at the data, that might be not major but normal should the trick. Hope you don't mind changing it again.

by simon04, 14 years ago

Attachment: 3595.patch added

comment:5 by simon04, 14 years ago

Description: modified (diff)
Summary: JOSM downloads too small areas when pasting OSM link[Patch] JOSM downloads too small areas when pasting OSM link

Patch attached (using screen size returned by Toolkit.getDefaultToolkit().getScreenSize()). Still not perfect, but worth testing. :-)

comment:6 by stoecker, 14 years ago

Do you care for this yourself?

comment:7 by simon04, 14 years ago

Resolution: fixed
Status: newclosed

In [4706/josm]:

fix #3595 - JOSM downloads too small areas when pasting OSM link

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.