<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for the suggestions, I couldn't agree more for static rendering. However this approach has some massive draw backs in terms of performance. Any suggestions in this region?<div><br></div><div>Li.</div><div><br><div><div>On 01/11/2012, at 5:13 PM, Daniel O'Connor wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div style="">
<font color="#232323"><div style=""><font color="#232323">What do you guys think?</font></div></font></div></span></div></div></blockquote><div><br></div><div>It's non trivial to do it this way, but:</div><div><ul><li>Define a relationship between zoom level and number of ways/nodes within the bounding box</li>
<li>Sort the ways in a weighted fashion - roads first, land boundaries second, etc</li><li>Zoom level max, with 10 nodes to render: well, that should likely render everything</li><li>Zoom level max - 1 with 1 billion nodes to render - roads only</li>
</ul><div>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 <i>like</i> a render hint but also suitable for other purposes - ie: routing or search.</div>
</div><div><br></div><div><br></div></div>
</blockquote></div><br></div></body></html>