Ah - good idea.
I implemented the watermark blend, as suggested by Dane, last night and it
works fine (and was quick to implement) so thank you.

Cheers,
Edward

On Thu, Apr 28, 2011 at 9:32 AM, Richard Weait <[email protected]> wrote:

> On Tue, Apr 26, 2011 at 11:31 AM, Dane Springmeyer <[email protected]>
> wrote:
> > On Apr 26, 2011, at 7:39 AM, Edward Sargisson wrote:
> >
> >> Hi all,
> >> I'd like to add copyright information into the lower left corner of the
> resulting image - regardless of which part of the Earth the map is showing.
> This is mostly to show the OpenStreetMap acknowledgement.
> >>
> >> Does anybody have an easy method to do this with Mapnik?
> [ ... ]
> > Edward,
> >
> > I think the easiest method would be to create a PNG with alpha at the
> same size as your tiles, then in python use mapnik's Image.blend() function
> to combine the two images.
> >
> > Here is an example:
> http://mapnik-utils.googlecode.com/svn/example_code/watermark/
>
> If you prefer to add the copyright information outside of Mapnik,
> perhaps for maps that you have already created, imagemagick has a
> number of helpful functions.
>
> http://www.imagemagick.org/Usage/annotating/#anno_on
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to