Open gio0v opened 1 year ago
@gio0v can you share your complete command lines - it is not clear if this has to do with the pmtiles format, does it have to do with -pC
/--no-tile-compression
? What is your case for using uncompressed PBFs?
The "limiting maxzoom" should apply to all guessed maxzooms, not specifically to uncompressed tiles, and I added it to avoid the problem where it was too easy to make a polygon that covers the entire world and gets tiled very deeply.
I should add a flag to make the z10 limit optional.
@e-n-f would it be possible to somehow combine the -zg
flag with also setting up a maximum possible zoom? I have a problem where my data could contain both polygon covering whole world but also tiny details, so using -zg
is my best option here, however, I would like to limit the max zoom to 15 so that I dont get millions of tiles in a very detailed dataset.
@e-n-f alternatively, would it be possible to know the calculated zoom level before generation of tiles? in that way we could terminate the command early and instead of -zg
use -z15
.
Edit - I also opened up a separate issue for this as a feature request - https://github.com/felt/tippecanoe/issues/281 .
I have been using
tippecanoe
for a while, but it is the first time I encounter this and I did not find much discussion about it.When creating vector tiles for a given world map of mine, everything works well if using PMTiles compression (and the job takes about 2 hours with
-zg
and-P
). However, when I try to generate uncompressed PBF files, the process becomes extremely slow after repeatedly showing messages likeLimiting maxzoom to -z10 to keep from generating 4577205 tiles
.Firstly, I am confused about what is going on. The
-zg
parameter is makingtippecanoe
findz8
andz12
as ideal zoom levels. So:z10
as the maximum only when generating uncompressed tiles?z10
only for the offending features/tiles, or for the whole task? Reading the source code I got the impression that it is forcingz10
only for some specific features/tiles, but understanding this is of relevance.Thanks!