Modify

Opened 14 months ago

Last modified 8 months ago

#7630 new enhancement

[Patch needs rework] Provide a "zoom to all downloaded" feature

Reported by: AM909 Owned by: team
Priority: normal Component: Core
Version: tested Keywords: zoom bounds
Cc: AM909

Description

Currently, View->Zoom to Download zooms only to the last downloaded area. Because of the size limitations in the API, it is often necessary to build a layer with multiple downloads. There is currently no way to zoom to the union of the downloaded areas. Zoom to data usually includes far more area than needed because of large boundary polygons and the like that fall outside the download bounds.

A new feature View->Zoom to All Downloaded would zoom to the union of the individual download (or merged layer) bounds.

Attachments (1)

7630.patch (2.8 KB) - added by simon04 14 months ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 months ago by skyper

I wonder if Zoom to Download should not be adjusted to work like this ? Or is there any reason why it only takes the BBOX of last download action ?

comment:2 Changed 14 months ago by simon04

Why is "Zoom to data" insufficient?

comment:3 Changed 14 months ago by AM909

As I said, it shows far more than the downloaded area because of boundary and other long ways.

Download <bounds minlat='34.1419655' minlon='-118.2308936' maxlat='34.1501699' maxlon='-118.2206368' />. It's an area about 950x950 m. When you Zoom to Download, the scale is about 95m (for 10"x10" viewport).

However, if you Zoom to Data, you get an area of about 17000x17000 m (scale 1700 m), over 17x what is appropriate, and you can barely see the area of interest, much less edit it.

I do think it's useful to have both last download and union download features.

Last edited 14 months ago by AM909 (previous) (diff)

Changed 14 months ago by simon04

comment:4 Changed 14 months ago by simon04

  • Summary changed from Provide a "zoom to all downloaded" feature to [Patch] Provide a "zoom to all downloaded" feature

Patch attached. For the icon, $ cp images/dialogs/autoscale/{,all}download.png.

comment:5 Changed 10 months ago by stoecker

Hmm, I don't like this solution.

Another proposal: Make zoom to download toggle download areas. First call: Last download, second call previous, ... after circling all, then zoom to complete joined area, then again to last. When last zoom action is older than _config_value (e.g. 30 seconds), then start cycle from scratch.

Needs two variables: The last displayed download box number and the time when it was displayed.

comment:6 Changed 8 months ago by stoecker

  • Summary changed from [Patch] Provide a "zoom to all downloaded" feature to [Patch needs rework] Provide a "zoom to all downloaded" feature

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team. Next status will be 'new'.
Next status will be 'needinfo'.The owner will change to AM909
as duplicate The resolution will be set to duplicate. Next status will be 'closed'.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous. Next status will be 'assigned'.
Author


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

 
Note: See TracTickets for help on using tickets.