Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

raster tiles blurry #963

Closed
Closed

Description

@incanus

Possibly related to #924, but raster tiles are blurry on device.

img_3099

The tile borders are 2x larger than they should be in debug mode.

img_3100

In addition, sometimes it looks like maybe two different zoom levels are being drawn together?

img_3101

/cc @1ec5 @jfirebaugh

Activity

  1. added
    iOS
    on Mar 7, 2015
  2. added this to the milestone on Mar 7, 2015
  3. 1ec5 commented on Mar 7, 2015

    @1ec5
    Contributor

    Interesting. Things look pretty sharp at z13+. Need to see which tiles are actually being fetched.

  4. 1ec5 commented on Mar 7, 2015

    @1ec5
    Contributor

    @yhahn points out that 2× satellite tiles are currently upsampled at low zoom levels. @incanus, please compare with this online preview and close if you’re satisifed that it isn’t a software issue.

  5. incanus commented on Mar 9, 2015

    @incanus
    ContributorAuthor

    Weird. We didn't used to have this problem.

  6. incanus commented on Mar 9, 2015

    @incanus
    ContributorAuthor

    The tile borders are 2x larger than they should be in debug mode.

    Here's specifically what I'm seeing:

    https://dl.dropboxusercontent.com/u/575564/rasterblur.mov

    You can see things looking ok at 15, 16, back out to 15, 14, 13, and then 12 looks like crap, as does anything lower-numbered out to 8, when I stop.

    This is a retina iPad, so the screen is 768x1024 virtual (1536x2048 actual). However, based on the tile borders, these are 512 raster tiles being shown in 512 of virtual space. In reality, we should be seeing 4x as many tiles on screen as we are. In the old, 256 raster days, we would see 16x as many tiles.

  7. jfirebaugh commented on Mar 10, 2015

    @jfirebaugh
    Contributor

    The current behavior is expected: for z in the interval [2, 3) we load z2 vector tiles and z3 raster tiles. At z2.0000 you see 512px @2x raster tiles in 256px of virtual space. At z2.9999, you see 512px raster tiles in ~512px of virtual space. Whether we want to change that is being discussed in https://github.com/mapbox/mapbox-gl-js/issues/1030.

  8. incanus commented on Mar 12, 2015

    @incanus
    ContributorAuthor

    Confirmed by:

    1. Setting starting zoom to an integer.
    2. Only using double-tap or two-finger single-tap to zoom, keeping integer zoom.

    That things are not blurry when at integer zooms.

    I put in my vote over in mapbox/mapbox-gl-js#1030.

  9. jfirebaugh commented on Mar 12, 2015

    @jfirebaugh
    Contributor

    Per scrum discussion, we'll address this in a followup to the initial iOS Beta release.

  10. removed this from the milestone on Mar 12, 2015
  11. added this to the iOS Beta 2 milestone on Mar 12, 2015
  12. peterqliu commented on May 24, 2015

    @peterqliu
    Contributor

    Main discussion is still over at mapbox/mapbox-gl-js#1030, but something more relevant for mobile:

    Since this issue is really a tradeoff between image sharpness and tile loading time, can we detect the device's current connection quality/network speed and make the appropriate call? When slow, opt for blurry and stretched (Math.floor), so the lag wouldn't be terribad; when fast, try to get more sharpness.

  13. incanus commented on May 26, 2015

    @incanus
    ContributorAuthor

    A good way to evaluate how things are looking here as well is to use older, raster styles (not satellite) and evaluate the text legibility. We should be striving for this for backwards compatibility / use with other stacks and it can be easier to see blurriness / sharpness in these instances rather than straight-up satellite rasters.

  14. 1ec5 commented on May 27, 2015

    @1ec5
    Contributor

    The approach taken in mapbox/mapbox-gl-js#1221 doesn’t seem to have any effect in mapbox-gl-native.

  15. incanus commented on Jun 1, 2015

    @incanus
    ContributorAuthor

    Raster tiles aren't a focus of b2; pushing.

  16. modified the milestones: iOS Beta 3, iOS Beta 2 on Jun 1, 2015
  17. added a commit that references this issue on Jul 7, 2015
    4c1f325
  18. added a commit that references this issue on Jul 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugiOS

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions