From 1f5ee5b4e601901ac498f152830fb953644c5bcd Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Sat, 26 Feb 2022 14:19:47 +0800 Subject: [PATCH] add media type note --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 54eeb0a..368ef6d 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,7 @@ An entry consists of: * A PMTiles archive with less than 21,845 tiles should have a root directory and no leaf directories. * Multiple tile entries can point to the same offset; this is useful for de-duplicating certain tiles, such as an empty "ocean" tile. * Analogously, multiple leaf directory entries can point to the same offset; this can avoid inefficiently-packed small leaf directories. +* The tentative media type for PMTiles archives is `application/vnd.pmtiles`. ### Implementation suggestions * PMTiles is designed to make implementing a writer simple. Reserve 512KB, then write all tiles, recording their entry information; then write all leaf directories; finally, rewind to 0 and write the header.