aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-10-20 02:08:13 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-10-20 02:08:13 +0200
commit98a2d184f3795822c4a61587ef57a6ad66f7237e (patch)
treec1964d7bbdf0e3c243987efbe1027b356e087a08
parenteaa32133e3f28026ca0a56e53f95decf15bf0a51 (diff)
webmap-publish: Add comment regarding compression.
-rwxr-xr-xwebmap-publish3
1 files changed, 3 insertions, 0 deletions
diff --git a/webmap-publish b/webmap-publish
index c4103ef..13b432e 100755
--- a/webmap-publish
+++ b/webmap-publish
@@ -545,6 +545,9 @@ if __name__ == '__main__':
ds_dst, dirname = createMVT(basedir, options={
'FORMAT': 'DIRECTORY',
+ # OpenLayers doesn't support compressed tiles, so instead
+ # we use brotli_static to let the browser transparently
+ # uncompress the responses
'COMPRESS': 'NO',
'TYPE': 'overlay',
'BUFFER': 32,