[OSM-talk] "Copyright" attribution on tiles at home Z17
Frederik Ramm
frederik at remote.org
Fri Sep 21 16:58:46 BST 2007
Hi,
I've been unhappy with the "(c) someone" attribution that has
been introduced on the tiles at home layer on zoom 17. I was hoping that
it would go away but now that it seems to be here to stay, I have
added an extra preprocessor to tiles at home which can mangle
attribution lines (or more precisely, it mangles the "user=..."
attributes in the OSM source files).
I have changed the Z17 style sheet to put the value of the "user"
attribute below the street, without adding a "copyright" sign. The
copyright sign is now added by a script called attribution.pl. These
changes cancel each other out so that, for the normal user, nothing
will change:
OSM server delivers road with "user=bart_simpson", attribution script
changes this into "(c) bart_simpson", Osmarender renders "(c)
bart_simpson".
However, you now have the option of putting your username in a
mapping table called attribution.txt, followed by an equal sign and
any other text you want shown instead. So for me, this will obviously
be simply
woodpeck=
because I don't want to be listed. (The attribution.pl script changes
this into a space character in order not to trigger the displaying of
the built-in default "(c) Openstreetmap"). But you could also put
something else - for example if you want to be listed but dislike the
copyright symbol, write
bart_simpson=bart_simpson
or if you want the copyright symbol shown but your real name and not
your screen name, put
bart_simpson=© Bart Simpson
Please don't abuse the feature by putting in Shakespeare sonnets.
It's all in SVN so we know who you are ;-)
As before, anyone not listed in the attribution.txt file will be
shown as "(c) screen name" or, if anonymous, "(c) OpenStreetMap".
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00.09' E008°23.33'
More information about the talk
mailing list