主权项 |
1. A method comprising:
receiving, by a processor, a request for weather information from a user device, the request associated with location information; retrieving, by the processor, weather data indicative of current weather conditions for at least one locale identified by the location information; identifying, by the processor, an image associated with the locale from an image collection, said identification comprising determining that said image depicts weather conditions that match the retrieved weather data; receiving, by the processor, metadata of the image; when no images associated with the locale are determined to depict weather conditions matching the retrieved weather data:
expanding, by the processor, a geographical area associated with the locale;accessing, by the processor, an expanded image collection depicting various weather conditions corresponding to the expanded area associated with the locale; andrepeating, by the processor, the expanding and accessing steps until at least one image from the expanded image collection depicting weather conditions that match the retrieved weather data is identified or a threshold condition is met; and transmitting, by the processor, the metadata of the image with the weather data for presentation at the user device. |