Comments (3)
I think this is probably because tilemaker doesn't generate clustered pmtiles archives:
Setting the clustered property of a PMTiles archive means that the ordering of the tile data on disk matches the directories
Because tilemaker's tile generation is multi-threaded, and some tiles may take much longer to generate than others (due to complex geometries), we can't guarantee that tiles will be output in any particular order. Therefore we don't get the efficiency gains that a clustered archive would give.
For a clustered archive, you'd need to create an .mbtiles with tilemaker, then use go-pmtiles to turn that into a clustered .pmtiles.
There's some discussion of this in the original PMTiles PR, #620, in particular:
Threading means tilemaker's tile output order isn't sequential, so we can't set
.clustered
The only consequences here should the directories take up more bytes, and you can't use
pmtiles extract
on an output. For cloud storage there isn't a huge locality advantage in accessing nearby parts of the same file
from tilemaker.
Thanks Richard, I'll go that way, mbtiles + pmtiles conversion.
One way to deal with unordered generation, is to add some inbetween queue.
Threads fill the queue, another thread takes what is available and ordered in the queue to put that in the final pmtiles file.
(easy to say, more work to implement it)
from tilemaker.
(easy to say, more work to implement it)
😁 Yes, you're right. I'm slightly anxious about a queue getting blocked on a tile with a really horrible multipolygon geometry (Saimaa or the US National Forests, that sort of thing) but there are possibilities for the future.
from tilemaker.
Related Issues (20)
- `tilemaker --store` leads to mmap error (solution found)
- "`Could not find node with id`" despite node presence in PBF HOT 3
- Sample Workflow blog post not reachable HOT 1
- Smaller GeoJSON polygons not showing up HOT 5
- Latest version does not work on windows HOT 9
- Documented workflow for oceans not working HOT 2
- MAC OS issue with types during the make command HOT 10
- Config files aren't installed to a static location HOT 1
- Ubuntu 22.04 tilemaker-server no static folder in share HOT 1
- Attribute(name, value, minzoom) writes attribute on all zoom levels HOT 1
- Lua Runtime Error HOT 2
- Generate tile size statistics HOT 1
- attempt to call global 'Find' (a nil value) HOT 1
- Windows install instructions HOT 5
- Buildings and piers missing at zoom level 13 HOT 3
- Trying to install on Mac HOT 2
- Zoom level simplification HOT 1
- lua error: table is not a function HOT 1
- lua missing, ubuntu 23.04 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tilemaker.