[#4405] simplifying logic for computing longitude
[#4405] simplifying logic for computing longitude

hydroshare/hydroshare,hydroshare/hydroshare,hydroshare/hydroshare,hydroshare/hydroshare,hydroshare/hydroshare