Skip to content

Commit

Permalink
deploy: d4d3bd8
Browse files Browse the repository at this point in the history
  • Loading branch information
upsicleclown committed Aug 24, 2023
1 parent 3495610 commit 9425105
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
13 changes: 12 additions & 1 deletion print.html
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,18 @@ <h2 id="supported-schema"><a class="header" href="#supported-schema">Supported S
FROM map
JOIN images ON images.tile_id = map.tile_id;
</code></pre>
</li>
Optionally, <code>.mbtiles</code> files with <code>normalized</code> schema can include a <code>tiles_with_hash</code> view:
<pre><code>CREATE VIEW tiles_with_hash AS
SELECT
map.zoom_level AS zoom_level,
map.tile_column AS tile_column,
map.tile_row AS tile_row,
images.tile_data AS tile_data,
images.tile_id AS tile_hash
FROM map
JOIN images ON images.tile_id = map.tile_id;
</code></pre>
<strong><strong>Note:</strong></strong> All <code>normalized</code> files created by the <code>mbtiles</code> tool will contain this view.</li>
</ul>
<p>For more general spec information, see <a href="https://github.com/mapbox/mbtiles-spec#readme">here</a>.</p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="development"><a class="header" href="#development">Development</a></h1>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,18 @@ <h2 id="supported-schema"><a class="header" href="#supported-schema">Supported S
FROM map
JOIN images ON images.tile_id = map.tile_id;
</code></pre>
</li>
Optionally, <code>.mbtiles</code> files with <code>normalized</code> schema can include a <code>tiles_with_hash</code> view:
<pre><code>CREATE VIEW tiles_with_hash AS
SELECT
map.zoom_level AS zoom_level,
map.tile_column AS tile_column,
map.tile_row AS tile_row,
images.tile_data AS tile_data,
images.tile_id AS tile_hash
FROM map
JOIN images ON images.tile_id = map.tile_id;
</code></pre>
<strong><strong>Note:</strong></strong> All <code>normalized</code> files created by the <code>mbtiles</code> tool will contain this view.</li>
</ul>
<p>For more general spec information, see <a href="https://github.com/mapbox/mbtiles-spec#readme">here</a>.</p>

Expand Down

0 comments on commit 9425105

Please sign in to comment.