Hello Corey,
you could use our MercatorProjection class to calculate Latitude /
Longitude values to Meters, calculate the span in meters, divide it by
two and compute it back to Latitude / Longitude coordinates.
A simpler way is ignoring projections:
lat_i = |lat_1 - lat_2| * 0.5
lon_i = |lon_1 - lon_2| * 0.5
bbox1 = (lon_1, lat_1, lon_i, lat_i) // minLon, MinLat, maxLon, maxLat
etc...
I hope this is what you are looking for or is the problem more complicated?
Regards,
Karsten
2012/7/22 Corey Wallis <
co...@servalproject.org>: