From 8bc07ac65c8f55798f5754fe7defd20a92b9d567 Mon Sep 17 00:00:00 2001 From: Mike Barry Date: Mon, 25 Sep 2023 05:32:33 -0400 Subject: [PATCH] fix macro in readme --- layerstats/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/layerstats/README.md b/layerstats/README.md index ac9892198c..dae2eb07fd 100644 --- a/layerstats/README.md +++ b/layerstats/README.md @@ -109,18 +109,18 @@ CREATE MACRO lat(z, y) AS degrees(atan(0.5*(exp(lat_n(z, y)) - exp(-lat_n(z, y)) CREATE MACRO debug_url(z, x, y) as concat( 'https://protomaps.github.io/PMTiles/#map=', z + 0.5, '/', - round(lat(z, x + 0.5), 5), '/', - round(lon(z, y + 0.5), 5) + round(lat(z, y + 0.5), 5), '/', + round(lon(z, x + 0.5), 5) ); SELECT z, x, y, debug_url(z, x, y), layer, format_bytes(layer_bytes) size FROM layerstats ORDER BY layer_bytes DESC LIMIT 2; ``` -| z | x | y | debug_url(z, x, y) | layer | size | -|----|-------|------|-------------------------------------------------------------------|-------------|-------| -| 14 | 13722 | 7013 | https://protomaps.github.io/PMTiles/#map=14.5/-76.32335/-25.89478 | housenumber | 2.4MB | -| 14 | 13723 | 7014 | https://protomaps.github.io/PMTiles/#map=14.5/-76.32855/-25.8728 | housenumber | 1.8MB | +| z | x | y | debug_url(z, x, y) | layer | size | +|----|-------|------|------------------------------------------------------------------|-------------|-------| +| 14 | 13722 | 7013 | https://protomaps.github.io/PMTiles/#map=14.5/25.05575/121.51978 | housenumber | 2.4MB | +| 14 | 13723 | 7014 | https://protomaps.github.io/PMTiles/#map=14.5/25.03584/121.54175 | housenumber | 1.8MB | Drag and drop your pmtiles archive to the pmtiles debugger to see the large tiles on a map. You can also switch to the "inspect" tab to inspect an individual tile.