Thank you for your help. That's right, I am looking for something like 2d 
interpolation in SLD. According to your answer, I understand that it is not 
possible to attach data fields to the points of a raster image.

The point that I don't understand is why RasterSymbolizer cannot be adapted to 
be able to work with vector layers. Does it render on the fly? Anyway, the 
research project you point out is both interesting and useful.

 Regards,

 Robert

> ----- Original Message -----
> From: Andrea Aime
> Sent: 01/23/11 11:39 AM
> To: Robert Holland
> Subject: Re: [Geoserver-users] color map for a vector layer
> 
> On Sat, Jan 22, 2011 at 8:49 PM, Robert Holland <robert.holl...@gmx.com> 
> wrote:
> >  Hi,
> >
> >  I am using PointSymbolizer to make a color map from a layer that is 
> > composed of a set of points (the distance between two points is 250m). It 
> > works fine but I am not happy with the resulting image because it is 
> > discrete (and looks like too pixeled). I would like to get an image similar 
> > to those achieved with RasterSymbolizer. The point is that I cannot 
> > register this layer as Raster because each point has associated a set of 
> > data fields, which can be accessed with WFS.
> >
> >  - Is it possible to get a continuous image by using SLD?
> 
> Not that I know of
> 
> >  - In other case, How could I relate data fields to the points of a raster 
> > image?
> 
> It seems to me what you want is 2d interpolation. There is no way to do that
> in SLD at the moment, though I'm working on an extension that could make it
> possible if someone writes an efficient on the fly interpolation algorithm, 
> see:
> http://docs.codehaus.org/display/GEOTOOLS/Rendering+transformations
> 
> Now, the fastest interpolation algorithm I know of is IDW:
> http://docs.codehaus.org/display/GEOTOOLS/Rendering+transformations
> 
> Nevertheless, the trivial implementations are going to be quite expensive,
> making an efficient one would require some interesting work in spatial
> indexing as well
> (to quickly find the n nearest points to a given position)
> 
> Sounds like a nice research project, but it would likely require some days
> of work (e.g., it's not not something that can fit in spare time).
> 
> 
> Cheers
> Andrea
> 
> -- 
> Ing. Andrea Aime
> Technical Lead
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> 
> phone: +39 0584962313
> fax:     +39 0584962313
> 
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
> 
> -----------------------------------------------------


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to