Geo: Find out min/max values for correct intersection handling

A multi polygon with holes didnt correctly calculate possible intersections
because it used the first edge instead of the edge with the min/max value of
the longitude (depending if positive/negative)

Closes #5773