On Wed, Jul 13, 2011 at 10:16 AM, Gis Mage <[email protected]> wrote:
> Hi list!
> I've got a raster layer, which represents global temperature.
> I want to display it only within a certain region.
> Is it possible to send a parameter to a server (like a bbox, or a cql),
> which will tell it to render only within a polygon?
> For vector layers I can use cross-layer cql filter in WMS request, but what
> to do with a raster?

It should be possible on trunk using the rendering transformations:
http://docs.codehaus.org/display/GEOTOOLS/Rendering+transformations
http://geo-solutions.blogspot.com/2011/01/developers-corner-have-your-sld.html

With the WPS module loaded you should have the CropCoverage process
handy, which can crop a coverage over any shape, chain it in the SLD,
maybe use SLD variable substitution to get the geometry from the request
URL itself and you should get a dynamic crop engine.

The above is still a bit experimental, and not much documented,
but if you have time to dig into the code you should be able to figure
it out

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to