geosolutions-it/geonode

Remove `printng` calls from WMS thumbnail generation

Closed this issue · 0 comments

In case of Geoserver OGC backend, the WMS thumbnail generation is executed as a fallback, in case Geoserver's printng fails:

image = _prepare_thumbnail_body_from_opts(request_body)

With the new approach, this should be refactored not to use printng at all. Approach for non-geoserver backend should be executed for all requets; the approach following:

if image is None: