Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 weeks ago

#11856 closed enhancement (fixed)

Provide ability to choose zoom level of tiles

Reported by: wiktorn Owned by: wiktorn
Priority: normal Milestone: 15.09
Component: Core imagery Version: tested
Keywords: hidpi retina zoom offset Cc:

Description

Till now zoom level of imagery was set by JOSM.

User should be able to set whether he wants to work with:

  1. high-quality small tiles
  2. with low-quality big tiles

First mode is useful when working with aerial imagery to provide highest quality of the image, second is useful, when working on high-dpi screens (retina-like) and imageries where some text information is provided

Attachments (0)

Change History (7)

comment:1 Changed 5 years ago by wiktorn

In 8751/josm:

Introduce zoom offseting. See: #11856

  • MemoryTileCache size based on ZOOM_OFFSET
  • getBestZoom called on every paint, as cost of callign getBestZoom is neglible and clarifies the code
  • use ZOOM_OFFSET to choose higher or lower zoom levels
  • provide settings panel for ZOOM_OFFSET control

comment:2 Changed 5 years ago by aceman

Also imagery at different zooms may be shot at different times. User may want to trace the newer images so will need to "pin" that zoom level of the imagery, but still zoom in in JOSM to place nodes precisely.

comment:3 in reply to:  2 Changed 5 years ago by wiktorn

Replying to aceman:

Also imagery at different zooms may be shot at different times. User may want to trace the newer images so will need to "pin" that zoom level of the imagery, but still zoom in in JOSM to place nodes precisely.

This can be easily achieved using min/max zoom in imagery definition. min/max zoom are available for WMS too now.

comment:4 Changed 5 years ago by wiktorn

Resolution: fixed
Status: newclosed

comment:5 Changed 5 weeks ago by Don-vip

Keywords: hidpi retina added

comment:6 Changed 5 weeks ago by Don-vip

Keywords: zoom offset added

comment:7 Changed 5 weeks ago by Don-vip

In 15918/josm:

fix #18720 - see #11856 - Automatically enable "Tile zoom offset" in HIDPI mode

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain wiktorn.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.