We're updating the issue view to help you get more done. 

Mapbox vector tiles inconsistent rendering across zoom levels

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

Environment

None

Status

Assignee

Devon Tucker

Reporter

Devon Tucker

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium