I need a way to generate internal bounding boxes (e.g. 1x1km squares) starting from a bigger geographic bounding box.
For example, starting from London bounding box, I want to get all the 1x1km bounding boxes within that geographic area.
Formats:
- a geographic bounding box is represented by 2 points, the bottom left point and the upper right point that delimit the geographic area;
- a point is represented by a [lat, lng] pair.
Is there a Java library implementing that feature or even just an algorithm? I also tried Java JTS, but it seems useless for that purpose.
Thanks in advance.