Modify

Opened 7 months ago

Closed 8 weeks 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 Changed 7 months ago by GerdP

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

comment:2 Changed 7 months ago by naoliv

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 Changed 7 months ago by skyper

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

comment:4 Changed 6 months ago by simon04

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

comment:5 in reply to:  4 Changed 6 months ago by skyper

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 Changed 3 months ago by Don-vip

Keywords: zoom download added
Milestone: 17.03

comment:7 Changed 3 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 11658/josm:

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

comment:8 Changed 2 months ago by Klumbumbus

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 Changed 2 months ago by Don-vip

Resolution: fixed
Status: reopenedclosed

In 11743/josm:

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

comment:10 Changed 2 months ago by naoliv

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 2 months ago by naoliv (previous) (diff)

comment:11 Changed 2 months ago by Don-vip

Resolution: fixed
Status: reopenedclosed

In 11774/josm:

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

comment:12 Changed 2 months ago by Klumbumbus

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 Changed 2 months ago by Klumbumbus

Resolution: fixed
Status: closedreopened

comment:14 Changed 8 weeks ago by Don-vip

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