Right now, mb-util creates many more JSON files than tiles. We could move the grid output code up to the tile output code so we only output a grid file if there is a tile. Does that sound like something worth a patch?
Yeah, makes sense, can you write this?
Shouldn't be too complicated. I'll play with it later.
Would love to see this happen -- well over half my export/upload time is blank grids a lot of the time.
PRs accepted here - this is a fairly simple library and easy to change.
I sent in a pull request, but it's failing a test. I think the test might now be invalid, however: It's looking for a grid that may not exist, depending on the data set.:
Of course I could also be reading that wrong.