[talk-au] Optimising map rendering for recreational use
ben.kelley at gmail.com
Thu Nov 1 06:32:40 GMT 2012
You can change how mapnik renders by defining different styles for
Essentially with render hints you are saying that you would like this way
to look like a different type of way. If this does not map to some
verifiable attribute of the way then it becomes your preference.
Presumably there is something about the road that leads you to want it to
look differently. Why not tag the physical (and verifyable) thing that is
different, and change your style definition when you render it?
Is it the surface? The importance? The width? The destination?
On Nov 1, 2012 5:13 PM, "Daniel O'Connor" <daniel.oconnor at gmail.com> wrote:
> What do you guys think?
> It's non trivial to do it this way, but:
> - Define a relationship between zoom level and number of ways/nodes
> within the bounding box
> - Sort the ways in a weighted fashion - roads first, land boundaries
> second, etc
> - Zoom level max, with 10 nodes to render: well, that should likely
> render everything
> - Zoom level max - 1 with 1 billion nodes to render - roads only
> To actually set up the balance between zoom and what to render would be
> hard, but I think that's a better approach than render hints.
> Alternatively, after implementing it, you could add a 'render
> weighting/interest' attribute to a lot of ways, which would be *like* a
> render hint but also suitable for other purposes - ie: routing or search.
> Talk-au mailing list
> Talk-au at openstreetmap.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Talk-au