[Geoserver-devel] [JIRA] (GEOS-9551) Jiffle Rendering Transformation causes bad rendering on reprojection to 3995

lorenzo.pini created an issue

GeoServer / BugGEOS-9551

Jiffle Rendering Transformation causes bad rendering on reprojection to 3995

Issue Type:

BugBug

Affects Versions:

2.16.1, 2.18-RC

Assignee:

Unassigned

Attachments:

S-OSI_-FRA_-MTOP-GLBSST_FIELD-202002261200Z.nc, bad.png, good.png, jiffle.sld

Components:

WMS, WPS

Created:

26/Mar/20 12:09 AM

Priority:

MediumMedium

Reporter:

lorenzo.pini

I’m using the Jiffle rendering transformation to remove some pixels, and the result is then reprojected from 4326 to 3995.

The result of the reprojection with a style that uses the map algebra is different from the result of the reprojection without the map algebra. It looks like the resolution got lower.

Here is how it looks without the map algebra:

Here is how it looks with the map algebra:

In a multiband NetCDF file (attached) one band is used to decide whether or not render pixels from another band.
The Jiffle script is this:

if( src[1] > 2 ) dest = src[0];

A colormap is then applied; the full style is attached.
The layer preview image looks correct but when using different projections, artifacts come up.

To reproduce:

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100122-sha1:092c6a7)

Atlassian logo