I have two pairs of lat/long coordinates that represent the top left and bottom right corners of a bounding box.
I have a third pair of lat/long coordinates representing a point within this bounding box.
How might I go about converting this point to a percentage of the X/Y position within the bounding box? For example, a point at
Y=50% would be bang in the centre of the bounding box.
It does of course need to take into account positive and negative coordinates.
Any guidance appreciated!