When mapnik renders e.g. a dual carriageway in a scale that is zoomed out far enough that it does not make sense to render the ways separately, does it "merge" the ways before rendering, or does it just render them on top of each other, hoping that the result won't be too ugly? (I could probably figure this out by expermimenting and/or reading code, but I am hoping that somebody can give a quick "it does/doesn't merge" off the top of his or her head. :-) ) asked 31 May '13, 13:44 turepalsson SK53 ♦ |
It does not merge the roads. In fact merging the roads would be computationally quite expensive and unlikely to be possible "on the fly". There's existing work in preprocessing data to find and merge such lines, but not for rendering - just for labelling. See https://github.com/migurski/Skeletron answered 31 May '13, 15:32 Frederik Ramm ♦ Thanks for the answer, and for the link; some interesting references there!
(31 May '13, 16:49)
turepalsson
|