Gist 7d99b7d79138bda9a2dfb092728da54c
✓ Published0🌍 Public
TThomasG77
Last edited Mar 30, 2023
Created on Mar 30, 2023
This example documents a debugging session for serving OpenStreetMap vector tiles with the VersaTiles toolkit. It shows how a version mismatch between the VersaTiles server (0.2.14) and its frontend client causes 404 errors for tile requests, as the server expects flipped Y-axis coordinates (2873/4058) instead of the standard OSM ordering (4058/2873). The fix involves downgrading to versatiles 0.2.13, which resolves the coordinate issue but introduces a client-side gzip decompression error (`Unimplemented type: 3`). The code uses `cargo install`, `versatiles convert`, `versatiles probe`, and `versatiles serve` commands, alongside `curl` for testing tile endpoints, referencing a Geofabrik extract of Pays de la Loire.
AI-generated description