I have a provincial grid used for the legal subdivision of land and need to split each grid cell into four for analysis purpose: https://github.com/matthewmeadows81/grid.
The problem lies in the properties of this grid: some of the cells are irregular and the method in https://gis.stackexchange.com/a/402281/168648 by @babel is the best method I've found so far, but the first step of creating a line from the centroid of each cell to the centroid of each neighboring cell just doesn't work because I suspect the irregular cell properties shown below cause issue:
Picture 1 (above): Overall grid shape.
Picture 2 (above): Top left-hand corner of grid after creating lines from centroid of each cell to the centroid of each neighboring cell.
Picture 3 (below): Top of grid where a small rectangle cell exists.


