Uploaded image for project: 'GeoServer'
  1. GEOS-8990

Mapbox vector tiles inconsistent rendering across zoom levels

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.13.4, 2.14.1, 2.15-M0
    • Component/s: Vector Tiles
    • Labels:
      None

      Description

      When viewing point layers with MVT, there is significant "jiggle" when zooming in. To recreate, just view any point layer (sf:bugsites for example) in openlayers using MVT and zoom in.

      I tried playing with the oversampling that was already present in vectortiles, but it did not seem to fix the issue. What did fix the issue was increasing the render area significantly for MVT tiles, thus "rendering" the tiles at a higher resolution. This also has the added benefit of matching Mapbox's default tile extent, which is 4096 (probably to avoid the same issues) as detailed here:

      https://github.com/mapbox/vector-tiles/issues/45

      I have a partial fix for this in the works that I'm hoping to get around to finishing. The issue is mainly with the test cases, it fails on finding too many features in a request. I suspect the paint area is being used somewhere on a filter when retrieving features:

      https://github.com/dvntucker/geoserver/blob/mvt_extent_issue/src/extension/vectortiles/src/main/java/org/geoserver/wms/vector/VectorTileMapOutputFormat.java

        Attachments

          Activity

            People

            • Assignee:
              dtucker Devon Tucker
              Reporter:
              dtucker Devon Tucker
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: