<blockquote>
<p>Nothing to do with this repository.</p>
</blockquote>
<p>I think we can expand on that slightly, both so that <a href="https://github.com/jidanni" class="user-mention">@jidanni</a> has more information and perhaps he can find a way forward. "Teach a man to fish", and all that.</p>
<p>There are three aspects to increasing the max zoom shown on the main page:</p>
<ul>
<li>The style should support a particular zoom</li>
<li>The servers should support a particular zoom</li>
<li>This repo should support a particular zoom</li>
</ul>
<p>For example, the Thunderforest servers support zoom 22, but in all honesty above around 19 or 20 the cartography doesn't really work currently. This repo uses 18 for Thunderforest layers. It could be increased in <a href="https://github.com/openstreetmap/openstreetmap-website/blob/33845759acf79dc9a0c8460e6363d767bcd86847/vendor/assets/leaflet/leaflet.osm.js">leaflet.osm.js</a>.</p>
<p>With the standard layer, the style works reasonably well up to 19 or 20 (a rough rule of thumb is to check is with the maximum zoom levels handled by the <a href="https://github.com/gravitystorm/openstreetmap-carto/blob/master/roads.mss">roads</a> layers), but the servers run by the OSMF are <a href="https://github.com/openstreetmap/chef/blob/79d28ce14b4c7cf3d964d07879928cd2811fd01c/roles/tile.rb#L94">limited to zoom 19</a>. It might seem straightforward to bump that up a few levels, but such a change would probably be rejected by the server admins. The currently used technology (mod_tile) stores all rendered tiles on disk before returning them to the client, so someone trying to download e.g. z24 for the UK could cause serious side effects!</p>
<p>My feeling would be that for OSMF to support z20 or higher would need to wait on a more significant technology shift on the OSMF rendering servers, which would allow rendering ultra high zoom tiles on the fly. This is most likely through server-side rendering from vector tiles. If and when that's available, then this repo can be updated with a new maximum zoom.</p>
<p>I hope you find this a useful explanation.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1672#issuecomment-343158186">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLacRG-Os8EeZAJDbyna157H_O_HRks5s0wG5gaJpZM4QXZfu">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLQ1UBcxwDXDPIr7svOGtzAf2AiAjks5s0wG5gaJpZM4QXZfu.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1672#issuecomment-343158186"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@gravitystorm in #1672: \u003e Nothing to do with this repository.\r\n\r\nI think we can expand on that slightly, both so that @jidanni has more information and perhaps he can find a way forward. \"Teach a man to fish\", and all that.\r\n\r\n There are three aspects to increasing the max zoom shown on the main page:\r\n\r\n* The style should support a particular zoom \r\n* The servers should support a particular zoom\r\n* This repo should support a particular zoom\r\n\r\nFor example, the Thunderforest servers support zoom 22, but in all honesty above around 19 or 20 the cartography doesn't really work currently. This repo uses 18 for Thunderforest layers. It could be increased in [leaflet.osm.js](https://github.com/openstreetmap/openstreetmap-website/blob/33845759acf79dc9a0c8460e6363d767bcd86847/vendor/assets/leaflet/leaflet.osm.js).\r\n\r\nWith the standard layer, the style works reasonably well up to 19 or 20 (a rough rule of thumb is to check is with the maximum zoom levels handled by the [roads](https://github.com/gravitystorm/openstreetmap-carto/blob/master/roads.mss) layers), but the servers run by the OSMF are [limited to zoom 19](https://github.com/openstreetmap/chef/blob/79d28ce14b4c7cf3d964d07879928cd2811fd01c/roles/tile.rb#L94). It might seem straightforward to bump that up a few levels, but such a change would probably be rejected by the server admins. The currently used technology (mod_tile) stores all rendered tiles on disk before returning them to the client, so someone trying to download e.g. z24 for the UK could cause serious side effects! \r\n\r\nMy feeling would be that for OSMF to support z20 or higher would need to wait on a more significant technology shift on the OSMF rendering servers, which would allow rendering ultra high zoom tiles on the fly. This is most likely through server-side rendering from vector tiles. If and when that's available, then this repo can be updated with a new maximum zoom.\r\n\r\nI hope you find this a useful explanation."}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/1672#issuecomment-343158186"}}}</script>