I am writing a code where i needed to fracture layers vertically and horiontally. I used dbLayerTile to fracture them vertically and I created my own version that fracture layers horiontally since I could not find anything in the documantation that do this job. My problem is I wanted to boost the performance of the code so my first thought is to rotate them by 90deg and then execute dbLayerTile a second time then bring them altogether to their original position. But how to write this in a code in a simplest way still puzzles me.
What's wrong with dbLayerTile? Obviously if the polygon is not rectangular or L-shaped, it can't be fractured into only two rectangles, but apart from that, surely that does what you want?