I have a very detailed source dataset of buildings and roads. I want to create a an MBTiles file with data on z15 and z17 - our software will automatically overzoom from z15 to z16.
On z15 I want a subset of the features in the dataset to be written (mainly area features, leaving out detailed line features representing roof details and such). On z17, all features should be written.
I have tried to solve this by creating an MBTiles (MVT) writer with two feature types - one for z15 and another for z17. I then route the features accordingly. The layername is created from a value in the feature's attributes.
However when I inspect the result in the newest QGIS, it is not right. On z15, the subset of features are present as expected. On z17, instead of all features, only the features not present in z15 have been written.
So, to summarize, it seems that features written to one zoom level will not be written to another. I think this is in line with the philosophy of vector tiles, so I'm wondering if there's another way to achieve this, or if it is a bug?
Edit: Attached simple sample data and workspace.