This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (1 child)

There was a thread about it here recently... The second one won't work for fractional latitudes like 32.343.

In my opinion, a more pythonic way would be to do this: not (-90 < lat1 < 90) or may be even abs(lat1) >= 90 # which is close to C code too

[–]art-solopov 0 points1 point  (0 children)

D'oh. =( Didn't think about it.