What steps will reproduce the problem?
1. Pass for example -90 to encode
2. Watch the exception being raised.
def encode(latitude, longitude, precision=12):
if latitude >= 90.0 or latitude < -90.0:
raise Exception("invalid latitude.")
What is the expected output? What do you see instead?
If I'm not wrong -90 is still correct value. it's south pole.
Original issue reported on code.google.com by
fi...@fizyk.net.plon 3 Mar 2015 at 11:24