My objective is to create a collection of bounding box coordinates that I can supply to a search function. The idea is that I have the search function search smaller geographic areas, instead of one large one.
To achieve this, I would like to develop some function that takes the following inputs: * Overall bounding box (to be divided) (4 lat/lng points) * Area of smaller bounding box
Are there any tools that I could use to do this?
The output should be a collection of sets (each has 4 points) representing bounding boxes that are inside the overall (parent) bounding box.
I am happy to write a tool using any language or alternatively use an intuitive web based tool.
Any ideas on how to do this?
I am in the process of figuring this out using simple functions that calculate the distance between two points, but writing here for sanity check also.