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)
Change History (7)
comment:1 Changed 14 months ago by skyper
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.
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



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 ?