iTowns / itowns

A Three.js-based framework written in Javascript/WebGL for visualizing 3D geospatial data
http://www.itowns-project.org
Other
1.08k stars 293 forks source link

Color layer resolution is pixelated depending on the view's extent size #2235

Open Pourfex opened 7 months ago

Pourfex commented 7 months ago

Color layers with WMS or FileSource resolution are pixelated depending on the view's extent size.

Small Extent : image

Bigger Extent image

Your Environment

Context

Displaying geotiff and geojsons on color layers on top of map+terrain seems to have problems based on the view's extent. Smaller extent makes the color layers works great without resolution problem while bigger one does terrible thing.

Even adding an extent to the color layer change nothing.

Steps to Reproduce (for bugs)

Expected Behavior

Colors layers should not be pixelated depending on the view's extent, or we should be able to, add our own extent to delete the problem

Actual Behavior

Color layers with WMS or FileSource resolution are pixelated depending on the view's extent size.

Possible Cause/Fix/Solution

AnthonyGlt commented 6 months ago

Thank you for the feedback. I was able to reproduce. It looks like we don't do more requests as we zoom in. Maybe an update isn't triggered. We will investigate