[Geoserver-devel] [jira] (GEOS-5741) Chaining BarnesSurface and RasterAsPointCollection rendering transformations

Jorge Sanz created BugGEOS-5741
Chaining BarnesSurface and RasterAsPointCollection rendering transformations

Issue Type:

BugBug

Affects Versions:

2.3.0

Assignee:

Andrea Aime

Attachments:

barnesAndPoints.png, barnesAndSampledPoints.png, barnes.sld, sampledRastervalor.sld, samplePoints.tar.gz

Components:

WPS

Created:

29/Mar/13 3:13 PM

Description:

This is a bug reported at geoserver mailing list.

> Well my question is about the RasterAsPointCollection rendering
> transformation. I’ve tried without success to chain it with the
> BarnesSurface to first interpolate a point layer into a raster and
> then obtain sampled values of into a grid. A testing SLD is at [1]. I
> get the points but I don’t know how to get the sampled value into a
> label. From Geosolutions blog post about rendering tranformations[2] I
> guess the “virtual” field is “Band1” but it doesn’t work.
>
> The BarnesSurface works because I can get rasters or countours
> chaining it with the proper transform, so I guess the problem is at
> the RasterAsPointCollection part.
>
> Any advice?
>
> [1] http://pastebin.com/hWjPyR8a
> [2] http://geo-solutions.blogspot.com.es/2011/01/developers-corner-have-your-sld.html

I attach the following:

  • A shapefile with some points and a value attribute
  • An SLD with the BarnesSurface rendering tranformation
  • An SLD chaining BarnesSurface with the same parameters with a RasterAsPointCollection in order to get a fixed grid of 20 by 20 points.
  • A render of the first SLD with the original points
  • A render of the first and second SLD without being able to access the value.

My point is how to get the sampled value of the BarnesSurface in order to apply it to the symbol rules, for example on a graduated style.

Environment:

Tested in Ubuntu 12.04 and 12.10 with 1.6 JVM and on 2.2.3 and 2.3 versions of Geoserver

Project:

GeoServer

Labels:

render-transformations

Priority:

MajorMajor

Reporter:

Jorge Sanz

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)