问题描述:

I have 2 GPS locations with a latitude and a longitude.

I want to create a bounding box, which incorporates both these points, plus some number of kilometers of padding on either side (for example, a 10km bounding box which includes both point X and point Y).

I have seen implementations for bounding boxes around 1 singular GPS location, but I have not seen any implementations which incorporate 2 GPS locations.

Can somebody help with an implementation, or the name of a solution?

相关阅读:
Top