lat/lon flipping and (not well tested) polygon verification