def normalizeLongitude(num):
'''Normalize the Longitude between -180 and 180 degrees'''
num += 180.0
num = math.fmod(num, 360.0)
if num < 0:
num += 180
else:
num -= 180
return num