Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banding/Upscaling Issue with high resolution raster #466

Open
thagorx opened this issue Jul 7, 2020 · 0 comments
Open

Banding/Upscaling Issue with high resolution raster #466

thagorx opened this issue Jul 7, 2020 · 0 comments

Comments

@thagorx
Copy link

thagorx commented Jul 7, 2020

I have a layer that is published by GeoServer (2.12.0) and then cached by MapProxy (1.12.0). The layer is a layergroup on the server consisting of a polygon and a GeoTIFF showing a proximity gradient how the layer looks like delivered by the GeoServer is like this:

banding on geoserver

Nice and smooth gradient but when I open the layer on my mapproxy it looks like this:

banding on mapproxy

What I think is happening is that MapProxy upscales the image from a higher zoom level. Why this does happen I don't know.

The merge.yaml entry for the layer looks like this:

sources:
  layer_name_source:
    type: wms
    http:
      client_timeout: 5 # seconds
    req:
      << : *geoserver_url
      layers:   'layer_name_on_geoserver'
      transparent: true

caches:  
  layer_name_cache:
    cache:
      type: file
      directory: /cache/dir/
      directory_layout: tms
    sources: [layer_name_source]
    grids: [GLOBAL_WEBMERCATOR]

layers:
  - name: layer_name_layer
    title: layer_name
    sources: [layer_name_cache]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant