[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] transparency
|
Hi all,
I have a question about applying a transparency to a layer or coverage.
Basically I've developed a tool for geo-referencing an image onto a map
and warping it to match the map's CRS. The process for warping the
image is to create a GridCoverage of the image from a derived CRS using
a transform, then use the Operations.resample() method to get the result
as a warped coverage. The result is the image warped to fit the CRS of
the map. My problem is that the edges of the result where it was
rotated are black.
I'm trying to figure out the best way to make these black areas
transparent. Is there a setting that can achieve this when I do the
actual resampling? Or do I need to apply some sort of style/setting on
the resulting coverage afterwards? I don't know how to achieve either
or if there is another, better way. Can someone point me in the right
direction? Thanks,
--
Graham Davis
Refractions Research Inc.
gdavis@xxxxxxxxxxxxxxx