[Geoserver-users] RasterAsPointCollection rendering transformation

Hi all,

This is my first mail to the list so I will present myself briefly.
I'm Jorge Sanz, working at Prodevelop (Valencia, Spain) and happily
using GeoServer for a while. I'm part of the OSGeo Foundation and the
Spanish Local Chapter, doing my best to promote FOSS4G everywhere.

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] SLD transform with BarnesSurface -> RasterAsPointCollection - Pastebin.com
[2] GeoSolutions' Blog: Developers Corner: have your SLD transform raster data into vectors on the fly

--
Jorge Sanz
http://es.osgeo.org

On Wed, Mar 27, 2013 at 1:19 PM, Jorge Gaspar Sanz Salinas <jsanz@anonymised.com.> wrote:

Hi all,

This is my first mail to the list so I will present myself briefly.
I’m Jorge Sanz, working at Prodevelop (Valencia, Spain) and happily
using GeoServer for a while. I’m part of the OSGeo Foundation and the
Spanish Local Chapter, doing my best to promote FOSS4G everywhere.

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.

It may well be, but I have no idea where the problem might lie and no time to
perform tests right now.
Can you open a ticket on jira.codehaus.org with sample data, styles
and requests to reproduce?

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On 28 March 2013 12:32, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Wed, Mar 27, 2013 at 1:19 PM, Jorge Gaspar Sanz Salinas <jsanz@anonymised.com>
wrote:

Hi all,

This is my first mail to the list so I will present myself briefly.
I'm Jorge Sanz, working at Prodevelop (Valencia, Spain) and happily
using GeoServer for a while. I'm part of the OSGeo Foundation and the
Spanish Local Chapter, doing my best to promote FOSS4G everywhere.

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.

It may well be, but I have no idea where the problem might lie and no time
to
perform tests right now.
Can you open a ticket on jira.codehaus.org with sample data, styles
and requests to reproduce?

Cheers
Andrea

Hi Andrea thanks, I'll prepare everything and fill the ticket

--
Jorge Sanz
http://es.osgeo.org