phayes/geoPHP — Issue #5: bbox of polygons that cross the international date line
Author: semiaddict
Created: 2011-10-12 17:18:24+00:00
State: open

Hi,

Thank you very much for this library.
I've added a few functionalities such as Yahoo geocoding and reverse geocoding (they have greater request limits than google's) which I will submit as a pull request as soon as my project's rush period is over.

However, I'm getting strange results when using the getBBox function on a multipolygon representing countries that cross the international date line such as Russia and New Zealand.

For Russia, for example, I'm getting a very thin line that follows the international date line.
I'm guessing this is an issue with the calculation of the min and max values.

Any idea how to fix this ?

Thank you.