Pixel Shift Causing Discontinuities in Linear Features in Titiler #733
-
In the recent version of Titiler, it has been observed that at higher zoom levels, linear features exhibit discontinuities due to a one-pixel shift in the tiles. This issue is not present in the older version of Titiler (0.11.5). Attached are screenshots of the same image in both the older (0.11.5) and newer (0.15.6) versions of Titiler for comparison. Please review the provided screenshots for a visual comparison. Titiler 0.11.5 Titiler 0.15.6 The stac Item: https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l2a-cogs/items/S2B_10SEJ_20180927_0_L2A |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@pgulla can you provide a bit more info about infrastructure and also the GDAL version (
edited: updated the dataset to use UTM projection to match the Sentinel2 Dataset |
Beta Was this translation helpful? Give feedback.
-
Ok looking at the data I was able to reproduce and fix it by using a different
|
Beta Was this translation helpful? Give feedback.
Ok looking at the data I was able to reproduce and fix it by using a different
reprojection
resampling method (reproject=cubic|bilinear
)reproject=nearest
(default)https://titiler.xyz/stac/map?url=https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l2a-cogs/items/S2B_10SEJ_20180927_0_L2A&assets=B04&assets=B03&assets=B02&assets_as_band=True&rescale=0,4000&minzoom=8&maxzoom=14&reproject=nearest
reproject=bilinear
(default)https://titiler.xyz/stac/map?url=https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l2a-cogs/items/S2B_10SEJ_20180927_0_L2A&assets=B04&assets=B03&assets=B02&assets_as_band=True&rescale=0,4000&minzoom=8&maxzoom=14&reproject=bilinear