I am using GeoServer for my project along with React and Leaflet (react-leaflet plugin ).

Is there a way to clip a raster stored in the GeoServer on the fly? I want to display the clipped raster in the frontend depending on the input. I have a shapefile according to whose polygon the raster must be clipped. Is there such functionality in GeoServer through which I can clip raster depending on the shapefile?

I have checked Stack Overflow and the GeoServer community but I am unable to find a solution to it.

1 Answer 1


You can use the provided WPS cropCoverage process which take a raster and a polygon.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.