jpeg tile validity checker
I encountered an unexpected issue during my mbtiles output. The tiles are in jpeg format. When I browse through the tiles, I noticed that some tiles are invalid jpeg files. I have checked and confirmed that the drive is without any error. The tiles are legitimate files, only that they cannot be read as a jpeg picture. The percentage is not high, around 0.1% - 0.01%. I can of course pick the files up and delete them, and run the output once more to fill the gaps, but I have 3 million tiles in one layer. It will take hours to finish the eyeball checking. Is there any automatic way to do this?