Modify

Opened 4 years ago

Closed 17 months ago

#3595 closed enhancement (fixed)

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

Reported by: Bürste Owned by: team
Priority: normal 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 18 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 4 years ago by Bürste

  • Summary changed from JOSM downloads to small areas when pasting OSM link to JOSM downloads too small areas when pasting OSM link

typo

comment:2 Changed 4 years ago by jttt

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 Changed 4 years ago by jttt

  • Priority changed from major to minor
  • Type changed from defect to enhancement

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 Changed 4 years ago by Bürste

  • Priority changed from minor to normal

@ 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.

Changed 18 months ago by simon04

comment:5 Changed 18 months ago by simon04

  • Description modified (diff)
  • Summary changed from JOSM downloads too small areas when pasting OSM link to [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 Changed 17 months ago by stoecker

Do you care for this yourself?

comment:7 Changed 17 months ago by simon04

  • Resolution set to fixed
  • Status changed from new to closed

In [4706/josm]:

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.