<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/tomhughes/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomhughes">@tomhughes</a> I personally would only add the text to the vector format documents, and just leave the bitmap output as is, assuming that it is only used for embedding static map images in websites where attribution can be taken care of outside of the image, as mentioned in the initial comment here.</p>
<p>Direct PNG rendering via Mapnik also has the advantage that it can use the AGG rendering backend instead of Cairo Graphics, which produces slightly better bitmap results. With all the extra decorations added by MapOSMatic, we have no choice but to render into a cairo surface for all formats there, but for just adding an annotation text rendering a PNG with Mapnik directly, and then using some other image library like e.g. PIL to overlay the annotation text over the generated image ...?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/551?email_source=notifications&email_token=AAK2OLMYL6BJMBQZCMN6YLTQ5N3ZXA5CNFSM4AKDUZLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXDIBI#issuecomment-573453317">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJ5FWNXJFGNOVSRJ73Q5N3ZXANCNFSM4AKDUZLA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLOZSELYWFD65VPFBRTQ5N3ZXA5CNFSM4AKDUZLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXDIBI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/551?email_source=notifications\u0026email_token=AAK2OLMYL6BJMBQZCMN6YLTQ5N3ZXA5CNFSM4AKDUZLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXDIBI#issuecomment-573453317",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/551?email_source=notifications\u0026email_token=AAK2OLMYL6BJMBQZCMN6YLTQ5N3ZXA5CNFSM4AKDUZLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXDIBI#issuecomment-573453317",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>