[talk-au] Optimising map rendering for recreational use

Daniel O'Connor daniel.oconnor at gmail.com
Thu Nov 1 06:13:22 GMT 2012


> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-au/attachments/20121101/0482b0e2/attachment.html>


More information about the Talk-au mailing list