The issue of uneven colors when loading GeoServer's WMS service on Mapbox

89 Views Asked by At

enter image description here

I am using a WMS service from GeoServer to load satellite imagery on Mapbox, but the loaded imagery has uneven colors. What could be the cause of this issue?If you have any solutions about this problem, please help me.

1

There are 1 best solutions below

1
Ian Turton On

You (or mapbox) have requested tiles rather than a single WMS image so for each image GeoServer seems to have applied the default raster style which makes a contrast stretch for the range of the image.

To fix this you can either request the whole map in one image or you can provide a fixed raster style with a pre-defined colour map so that each tile shares a common colormap.