From c00f1371119850969173909dc6d810cd36fb4dcf Mon Sep 17 00:00:00 2001 From: Adam Cox Date: Tue, 14 Jul 2026 09:09:57 -0500 Subject: [PATCH] fix xyz tile url structure --- docs/guides/generating-mosaics.md | 2 +- .../src/components/map/MosaicDerivatives.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/generating-mosaics.md b/docs/guides/generating-mosaics.md index 448b73f4..de0efde6 100644 --- a/docs/guides/generating-mosaics.md +++ b/docs/guides/generating-mosaics.md @@ -7,7 +7,7 @@ Currently, OIM supports the creation of two different derivatives per layerset: - **Cloud Optimized GeoTIFFs (COG)** - This is the primary output, and when present, is used within OIM in certain contexts - **Static XYZ Tileset** - - This is a rendering of the latest COG mosaic to actual PNG tiles in a {z}/{y}/{x}.png folder structure. + - This is a rendering of the latest COG mosaic to actual PNG tiles in a {z}/{x}/{y}.png folder structure. !!! note diff --git a/ohmg/frontend/svelte_components/src/components/map/MosaicDerivatives.svelte b/ohmg/frontend/svelte_components/src/components/map/MosaicDerivatives.svelte index fe4e8c1b..0be4b4bb 100644 --- a/ohmg/frontend/svelte_components/src/components/map/MosaicDerivatives.svelte +++ b/ohmg/frontend/svelte_components/src/components/map/MosaicDerivatives.svelte @@ -48,7 +48,7 @@ i.wmsUrl = i.mosaic_cog_url ? `${CONTEXT.titiler_preview_host}/cog/wms/?LAYERS=${encodeURIComponent(i.mosaic_cog_url)}&VERSION=1.1.1` : null; i.masksDateDisplay = i.multimask_date ? new Date(i.multimask_date*1000).toLocaleString() : null; i.xyzStaticArchiveURL = i.xyz_tiles_url ? `${i.xyz_tiles_url}/archive.tar.gz` : null; - i.xyzStaticTilesURL = i.xyz_tiles_url ? `${i.xyz_tiles_url}/{z}/{y}/{x}.png` : null; + i.xyzStaticTilesURL = i.xyz_tiles_url ? `${i.xyz_tiles_url}/{z}/{x}/{y}.png` : null; i.cogStale = false; i.cogDateDisplay = "---"; i.showCogQueueBtn = false;