Check out this nice tutorial from Tim Sutton about clipping a raster using GDAL
http://linfiniti.com/2009/09/clipping-rasters-with-gdal-using-polygons/
At the last stage, you may want to pass the "-dstalpha" option to the gdalwarp
command to make the rest of the raster transparent.
Regards,
Edward
Date: Wed, 13 Jul 2011 12:16:40 +0400
From: [email protected]
To: [email protected]
Subject: [Geoserver-users] How to mask a raster layer?
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?
Cheers
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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