Modify

Opened 7 years ago

Closed 7 years ago

#13922 closed enhancement (fixed)

Option to not zoom to the new downloaded data

Reported by: naoliv Owned by: team
Priority: normal Milestone: 17.03
Component: Core Version:
Keywords: zoom download Cc:

Description

Could we have an option to not zoom to the new downloaded data?

For example, if we are viewing a small map and export something from overpass. JOSM will zoom the entire new data (which is a lot, sometimes).
With this option JOSM will receive/open the data and just keep the current view and zoom level.

JOSM:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-11-05 17:03:06 +0100 (Sat, 05 Nov 2016)
Build-Date:2016-11-06 02:34:59
Revision:11221
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11221 pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 638 MB / 4029 MB (226 MB allocated, but free)
Java version: 1.8.0_111-8u111-b14-3-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-8-jre:amd64-8u111-b14-3
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-9
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Attachments (0)

Change History (14)

comment:1 by GerdP, 7 years ago

I think you just have to press 8 to "zoom to previous view".

comment:2 by naoliv, 7 years ago

Yes.
But the problem is that JOSM displays all the data, takes some time (or a lot, sometimes) to render them, makes scrolling and everything else slow.
I would like to keep at the current view and avoid rendering all the data like this (ie, avoid rendering everything just to get back to where I was)

comment:3 by skyper, 7 years ago

I also have my problems with this behaviour especially with overpass but also with gpx downloading in background

comment:4 by simon04, 7 years ago

Where should this option be placed? In the download dialog next to "download as new layer"?

in reply to:  4 comment:5 by skyper, 7 years ago

Replying to simon04:

Where should this option be placed? In the download dialog next to "download as new layer"?

+1, yes it is needed there but also for other download functions like changeset, objects, parents and overpass. Plus do not forget the "update" functions.

comment:6 by Don-vip, 7 years ago

Keywords: zoom download added
Milestone: 17.03

comment:7 by Don-vip, 7 years ago

Resolution: fixed
Status: newclosed

In 11658/josm:

fix #13922 - Add (expert) option to not zoom to the new downloaded data

comment:8 by Klumbumbus, 7 years ago

Resolution: fixed
Status: closedreopened

There is a regression for the notes. When clicking on download notes in current view (in the file menu or the button in the "dockable window") it should not change the current view.

comment:9 by Don-vip, 7 years ago

Resolution: fixed
Status: reopenedclosed

In 11743/josm:

fix #13922 - make sure Download*InViewAction download their respective data without changing the current view

comment:10 by naoliv, 7 years ago

Resolution: fixed
Status: closedreopened

It has a strange issue when the area has notes.
For example, ask to download the bounding box with min lat = -24.0019354, min lon = -46.51371 + max lat = -23.9373101, max lon = -46.4388657.
Have selected both OpenStreet data and Notes, with Zoom to downloaded data enabled.

See how it downloads the OSM data, properly zooms to it, them download a note (there is only one) and wrongly zooms to it.

JOSM is 11766

Last edited 7 years ago by naoliv (previous) (diff)

comment:11 by Don-vip, 7 years ago

Resolution: fixed
Status: reopenedclosed

In 11774/josm:

fix #13922 - zoom only once when downloading several data types

comment:12 by Klumbumbus, 7 years ago

There are still some strange behaviors.

  1. In the download window check osm data and gps
  2. download an area
  3. open the download window again and load an area 50km away
  4. the mapview zooms to the whole bounds of the two dowloads together instead of only to the second downloaded area

same happens with osm data + notes checked (in case there are in fact notes in the last bbox.)

same happens when only notes is checked.

(does NOT happen when only osm data or only gps is checked.)

comment:13 by Klumbumbus, 7 years ago

Resolution: fixed
Status: closedreopened

comment:14 by Don-vip, 7 years ago

Resolution: fixed
Status: reopenedclosed

In 11784/josm:

fix #13922 - fix GPX and Note download area computation

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.