From 8f74efd6452741861ff7539e3c95babcb22788f1 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Thu, 5 Oct 2023 12:08:24 +0800 Subject: [PATCH 1/2] update README with details on pmtiles tile sizes [#21] --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b018a1..9044dcd 100644 --- a/README.md +++ b/README.md @@ -95,8 +95,7 @@ Links to a [PMTiles](https://github.com/protomaps/PMTiles/blob/main/spec/v3/spec The [Tile Type](https://github.com/protomaps/PMTiles/blob/main/spec/v3/spec.md#tile-type-tt) of the PMTiles data source can be read from the first 127 bytes of the the binary header. -It is typical to assume a tile size of 256x256 pixels for raster tiles and 512x512 pixels for vector tiles, -but they could also be inferred from the first file. +It is typical to assume a tile size of 256x256 display (CSS) pixels for raster tiles and 512x512 display pixels for vector tiles. Tile sizes are not guaranteed to be uniform across an entire archive. ### XYZ From 93e297737438a99e8125882265819052755bf1ff Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Thu, 5 Oct 2023 11:39:27 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9044dcd..72891a7 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,8 @@ Links to a [PMTiles](https://github.com/protomaps/PMTiles/blob/main/spec/v3/spec The [Tile Type](https://github.com/protomaps/PMTiles/blob/main/spec/v3/spec.md#tile-type-tt) of the PMTiles data source can be read from the first 127 bytes of the the binary header. -It is typical to assume a tile size of 256x256 display (CSS) pixels for raster tiles and 512x512 display pixels for vector tiles. Tile sizes are not guaranteed to be uniform across an entire archive. +It is typical to assume a tile size of 256x256 display (CSS) pixels for raster tiles and 512x512 display pixels for vector tiles. +Tile sizes are not guaranteed to be uniform across an entire archive. ### XYZ