[talk-au] Optimising map rendering for recreational use

Li Xia lisxia1982 at gmail.com
Thu Nov 1 08:47:03 GMT 2012

Importance is of most interest. In regional areas where density is much lower, rendering lower class roads earlier on in the zoom level would improve the usability of the map much more.


On 01/11/2012, at 5:32 PM, Ben Kelley wrote:

> You can change how mapnik renders by defining different styles for different zooms.
> 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?
>   - Ben.
> 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
> http://lists.openstreetmap.org/listinfo/talk-au

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-au/attachments/20121101/0b3fcc68/attachment.html>

More information about the Talk-au mailing list