Skip to main content
Question

Watermarking rasters

  • February 20, 2015
  • 2 replies
  • 52 views

Forum|alt.badge.img

Hi All,

 

I have some thematic charts (1 band, paletted) that I'd like to try and add a fixed-image (created with MapnikRasterizer (4 band)) watermark to one of the corners of.

 

 

Does anyone have any suggestions for how to do this?

 

 

- RasterMosaicker is out because the two images have different numbers of bands.

 

 

- MapnikRasterizer almost certainly could, but I'm concerned it will alter the charts in some way beyond the watermarking (location, size, projection, paletting, imagery, etc) which is an absolute no-no.

 

 

Before I set about trying to use MR to do this, does anyone have any other suggestions? Or even suggestions for how to use MR to do it.

 

 

Thanks,

Jonathan

2 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • February 20, 2015
Maybe use a rasterexpressioncalculator/evaluator on relevant bands?

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • February 21, 2015
Hi Jonathan,

 

 

I think you can do mosaic them after coercing interpretation of the chart to RGBA32. Have a look at these transformers.

 

RasterPaletteResolver

 

RasterInterpretationCoercer

 

 

Takashi

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings