[Geoserver-devel] [JIRA] (GEOS-9273) Vertical stripes in wms output when gs:CropCoverage is applied in SLD

Stefan Ziegler created an issue

GeoServer / BugGEOS-9273

Vertical stripes in wms output when gs:CropCoverage is applied in SLD

Issue Type:

BugBug

Affects Versions:

2.15.1

Assignee:

Unassigned

Attachments:

Screenshot 2019-06-30 at 19.06.12.png

Components:

WMS

Created:

30/Jun/19 7:12 PM

Environment:

macOS

Priority:

MediumMedium

Reporter:

Stefan Ziegler

I’m using the CropCoverage process to crop my raster file. It is cropped correctly but it renders white, vertical lines in the output (see attached screenshot). This happens only with nearest neighbor interpolation. Input raster is a 3 band aerial. Published with the image pyramid plugin.

<?xml version=“1.0” encoding=“UTF-8”?>
<StyledLayerDescriptor xmlns=“http://www.opengis.net/sld” xmlns:ogc=“http://www.opengis.net/ogc” xmlns:xlink=“http://www.w3.org/1999/xlink” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd” version=“1.0.0”>
<NamedLayer>
<Name></Name>
<UserStyle>
<Title>A raster style</Title>
<FeatureTypeStyle>
<Transformation>
<ogc:Function name=“gs:CropCoverage”>
<!-- crop coverage –>
<ogc:Function name=“parameter”>
<ogc:Literal>coverage</ogc:Literal>
</ogc:Function>
<ogc:Function name=“parameter”>
<ogc:Literal>cropShape</ogc:Literal>
<ogc:Function name=“env”>
<ogc:Literal>shape</ogc:Literal>
<ogc:Literal>
POLYGON((2604817 1247794, 2604817 1228205, 2631936 1228205, 2631936 1247794, 2604817 1247794))
</ogc:Literal>
</ogc:Function>
</ogc:Function>
</ogc:Function>
</Transformation>

<Rule>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>

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#100105-sha1:327840d)

Atlassian logo