Ninja
Ninja

Reputation: 11

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

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.

Upvotes: 0

Views: 239

Answers (1)

Ian Turton
Ian Turton

Reputation: 10976

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.

Upvotes: 1

Related Questions