Download & Extend

Integration with Location module: shows weather not near a node's location

Project:Weather
Version:6.x-5.1
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:toddy
Status:closed (fixed)

Issue Summary

I use the Location module (version 6.x-30) and I want to show the weather near a node's location. I selected in a node location only "South Africa" as country but the Weather module shows the weather from Accra (600km to the north). In the database table weather_icao are 19 rows for "South Africa"...

Kind regards from Germany,
Tim

Comments

#1

Assigned to:Anonymous» toddy
Status:active» fixed

Hi,

thanks for the bug report. The Location module has changed the way how latitude and longitude information is stored for a node. If there is no information available, it returns 0.0/0.0 instead of unset values. Therefore, the nearest weather station of the location 0.0/0.0 is Accra, roughly 600km north.

I've updated the weather module to check for this. This is fixed in 6.x-5.2. Please note, however, that you still need to enter the latitude/longitude for your nodes, otherwise the location weather block will not show up. Simply selecting the country is not sufficient, the location module will not fill in those fields only based on country information.

Regards,
Tobias

#2

Hi Tobias,

I installed 6.x-5.2 and I just want to confirm, that without latitude/longitude for my nodes the location weather block does not show up. :-) Thank you very much!

I wish you and your family a Merry Christmas and a happy New Year!
Tim

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here