google map with weather information - google-maps

Consider the requirement to integrate the road direction between two stations, along with the weather information of the starting, middle, and destination stations.
I looked at the Google help, but I didn't find the weather information along with the direction map/
How can weather information be added?

Three are some weather APIs on this page
https://stackoverflow.com/questions/507441/best-weather-apis
Query your preferred weather API with the points you wish to get the weather for.

Related

How google get polygon data for locality in a city

I have seen google showing polygon lines for locality in a map. eg: https://www.google.co.in/maps/place/Koramangala,+Bengaluru,+Karnataka/#12.9354922,77.6146828,14z/data=!3m1!4b1!4m5!3m4!1s0x3bae144ed898fc2d:0x1681f38e8c00ae56!8m2!3d12.9279232!4d77.6271078
I wanted to know how google gets this data. Do they use any kind of mapping of images to the government data available in the countries in the world. I dont think all the countries provide data (lats, longs) at such granular level.
Right now this feature is unavailable for Google Maps API. But there is a feature request on Google's Issue Tracker that you can star and comment on.
Here's the link:
https://issuetracker.google.com/35816953
There are workarounds for this though where you get the data elsewhere and draw the polygons yourself.
Here's the link to that:
Google Maps how to Show city or an Area outline

Street and Road names in Google Map

I would like to retrieve all the road and street names, if i enters a area in search box. Is that possible in Google API ?
I have checked List of all street and road names in Google in API for solution, but there it is been given for auto complete box and the request is not for my requirement.
Also I learnt that Open Street Maps provide us these data, unfortunately I would like to perform some operations based upon the Google API's. So can you suggest me a way, otherthan OSM.
Google Maps API does not provide such functionality. However, there is a Google Maps Roads API which is one of their premium paid APIs which lets you query nearest road names and other road metadata. You can check that out here:
https://developers.google.com/maps/documentation/roads/intro
You can also try Overpass-Turbo (https://overpass-turbo.eu/) which lets you query OSM data. You can set the bounds and the OSM tags you are interested in.

Possible to use alternate weather api with Google Maps v3?

The Weather.com data in the weather layer is aggregated temps from the region and NOT direct weather station data. The meteorologist where I work is complaining about how inaccurate the data is on our web site.
We're already using a paid Weather Underground account for the rest of our weather data, so I'd like to replace the weather.com layer with a layer using data from weather underground.
I'm not sure where to start. Is the base code for the current weather layer available? Or does anyone have examples of using alternative weather data sources?
The WunderMap layer with the temperatures will be coming to the API and then you'll be able to access it with the other API data like Radar and Satellite. If you have an immediate need, get in touch with us at Support and we can connect you with Business Development. http://help.wunderground.com/

How to find a closest street

I'm reading through Google Maps API documentation and I wonder if such a think is possible:
I specify the point (by coords)
I search for all roads, and junctions around the node (say in 1km radius)
I get parameters for the streets around (polyline coords)
Is it reachable, or google do not share that data?
Thanks in advance
Rafal
I can image writing up a little script that generates a bunch of random points within a 1km radius and then performs directions services via Google Maps API to obtain all possible routes and thus streets within a 1km radius. However, this is problematic since it is kinda against the Google Maps TOS of displaying this information only on a map within a website and not extracting data for you personal use as this would be.
A better approach would be looking into utilizing Open Street Map data where you can download street data from a specific viewport. If buying street network data is an option, you can go to a commercial outlet such as NAVTEQ or PTV which post-processes NAVTEQ data to a format for use in the transport modeling software package you mention on your blog.

mashup of google map,flicker,and weather.com

how to create a mashup of google map,weather.com and google search engine where a user can enter any location on the textbox and the map will create a bubble with the weather info and news on that entered location?
I take it you have seen the competition referenced by this news article http://news.bbc.co.uk/1/hi/technology/8330346.stm and now want someone to do the work for you.
Good luck finding someone.
I'm using Google Maps API 2 and Google Weahter to accomplish this. Google Weather can retrieve weather info based on latitude and longitude, but you're often better off with first geocoding the lat/lng to a city and then ask the Weather API for info - I've noticed that asking Weather API with lat/lng are not that reliable at all times.
Wheather API URI example: http://www.google.com/ig/api?weather=Gothenburg,SE