title: How to convert geospatial coordinates from top right, bottom left to top left and bottom right
body: <p>I am using a map that allows selecting a bounding box on a map and returns (lat, lon) for top right, and bottom left.</p>
  
  <p>I am using couchbase geo spatial queries and they only support top_left bottom_right coordinates.</p>
  
  <p>What's the formula to convert latitude and longitude values of two opposite corners from a rectangle from top_right bottom_left to top_left bottom_right?</p>