-
Notifications
You must be signed in to change notification settings - Fork 91
Add support for OpenWeatherMap API for facilitate weather information #448
Comments
@egofer Definitely an interesting idea. Do you have any ideas how we would present this information to users? In other words, where would this information be placed in the UI? |
I believe that the roadmap would be the best place. A panel would show a simple weather forecast in that place and for that particular time below each transfer (perhaps with the probability of rain and temperature is sufficient.). This panel, along with the succession of stops if it were the case, would only be visible if the user deploys it, because for some people this information will not be relevant and makes more complex the roadmap. In addition this panel could be reused to add more information in the future (fare, link to the photo stored in the GTFS file, incidents, etc.). |
@egofer I think that this would be a very nice addition :-) Are you thinking on a panel per itinerary or per step of the itinerary? For 2014-10-01 18:23 GMT+02:00 egofer [email protected]:
|
I think weather/temperature would likely be most relevant for walking legs. I believe most transit modes should be covered from weather. We could only display weather for more than one leg when the result is different per leg. @egofer Where did you get the icons you used in your mockup? They are nice. |
I think it would be interesting to show the weather information on all transfers, especially in walking and cycling for obvious reasons. However probably the premise should be that obtaining weather forecasting does not cause a delay in displaying optimal routes and the roadmap. I think this could be achieved:
@barbeau I got the icons from NounProject (with CC and PD licenses). On the other hand, OpenWeatherMap API returns a code with the name of the icon (although this style is perhaps not the most appropriate). However there are free fonts styles that can be used to represent the weather if required: |
FYI - another free weather API: |
One of the main advantages of OpenTripPlanner and its Android client is that it allows the user to manage your own mobility, adapting to their own context. In this regard it would be interesting to the user have the weather information that is expected during your trip or transfers. This would allow you to choose the best transportation alternative. Over all in cities where the weather is a key factor in the trips.
OpenWeatherMap provides a free API with open weather data, weather forecasts and maps in HTML, JSON and XML formats that might be used in the Android client (or the OTP server).
The text was updated successfully, but these errors were encountered: