-
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add compression and query to martin-cp (#1019)
* Use gzip compression for MVT tiles by default * Allow user to set compression with `--encoding` parameter (same as browser's header, e.g. use `br,gzip' to encode with brotli as first choice, unless already encoded as gzip) * Allow user to pass a query to the Postgres functions with `--url-query` * A bit of a cleanup for `mbtiles summary` output
- Loading branch information
Showing
16 changed files
with
172 additions
and
139 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ lints.workspace = true | |
|
||
[package] | ||
name = "mbtiles" | ||
version = "0.8.0" | ||
version = "0.8.1" | ||
authors = ["Yuri Astrakhan <[email protected]>", "MapLibre contributors"] | ||
description = "A simple low-level MbTiles access and processing library, with some tile format detection and other relevant heuristics." | ||
keywords = ["mbtiles", "maps", "tiles", "mvt", "tilejson"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,13 @@ | ||
[INFO ] cp_flat-with-hash has an unrecognized metadata value foo={"bar":"foo"} | ||
[INFO ] Using 'mvt' tile format from metadata table in file cp_flat-with-hash | ||
id: cp_flat-with-hash | ||
tile_info: | ||
format: mvt | ||
encoding: '' | ||
layer_type: null | ||
tilejson: | ||
tilejson: 3.0.0 | ||
tiles: [] | ||
vector_layers: | ||
- id: table_source | ||
fields: | ||
gid: int4 | ||
bounds: | ||
- -2.0 | ||
- -1.0 | ||
- 142.84131509869133 | ||
- 45.0 | ||
name: table_source | ||
foo: '{"bar":"foo"}' | ||
description: public.function_zxy_query_test | ||
name: function_zxy_query_test | ||
format: mvt | ||
generator: martin-cp v0.11.1 | ||
json: {} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.