[Geoserver-users] How to crop Geoserver Raster Layers

Hello all,

I am interested in building a Raster support in my application. I have built, using Geoserver, an image pyramid layer which I expose using WMS to our OpenLayers map. Now I want to be able to crop the raster layer image using a polygon geometry (I want to see only the data that stays between the bounds of the polygon).

Q: What is the best approach on doing this?

Q: Can somebody give me some starting points on how to do that?

I have found this old post http://osgeo-org.1560.n6.nabble.com/How-to-mask-a-raster-layer-td3790665.html. I have installed the WPS and tried to use the CropCoverage process but I ended up with some errors I don’t understand(I have used a raster layer and an application/wkt: POLYGON((xxx)).

Q: Is this the correct approach for what I’m looking?

Q: If yes will the performance suits my needs (I need a fast response just like the one of the simple wms call to the layer)?

Q: Did something new arrived on the new versions of Geoserver for helping me in my task?

Kind Regards,

Andrei Spahiu.