Possible to use alternate weather api with Google Maps v3? - google-maps

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/

Related

How to request polygons from Google Maps?

I am interested in an analogue of http://wiki.openstreetmap.org/wiki/Nominatim
I.e. to be able to make request and get some kind of polygon coordinates:
"geojson":{"type":"Polygon","coordinates":[[[-87.464761,44.600998],[-87.459755,44.599569],[-87.459745,44.601012],[-87.463143,44.601],[-87.464761,44.600998]]]}
Nominatim is good, but it lacks of some data (I am interested in data about cities and counties of Canada). For example, Google Map knows about the Ontario districts and highlights them, but OpenStreetMap - does not. As well as for some cities - where OpenStreetMap shows a dot, Google Maps shows full polygon.
Can it be done with Google Maps?
Other alternatives will work as well.
Yes, it can be done via GMaps API: https://gis.stackexchange.com/questions/43292/how-to-geocode-an-address-to-a-polygon
But be also aware of the legal restriction of the API and the commercial dataset, esp. if you want to use it regularly or for bulk processing: http://www.google.com/help/legalnotices_maps.html
I would also consider to help OSM to improve the dataset. This can be done by contacting the local community and offering help to ask for official public datasources. Esp. in the case of political boundaries, there is no way to get this material on the ground: http://wiki.openstreetmap.org/wiki/Canada

google temperature information

Google has a weather box whenever you search for weather or temperature which gives info about your town and the temperature, wind and other there. Is there a way to get that data into a json variable ?
Google doesnt have an JSON api for their weather service.I prefer using openweather api which gives you a simple and easy to use json interface.Or you can create the json objects yourself if you prefer doing it in the harder way.here is an example on how to use google map weather layer.

google map with weather information

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.

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.

Topographical or relief data in Map APIs

I was wondering if anyone knew of any map APIs that offer topographical or relief data? I've had a quick look at Google and Bing APIs, but could find nothing there.
Google allow you to view a map as TERRAIN, which means you can see the topography of a map, but I want to be able to get at that data - i.e. if I were to draw a line between 2 points on Google Maps, I want to know how high above see level points along that line are.
Is this possible with any map APIs out there?
Thanks for your time!
Here's a simple example of height along a route.
I use USGS to obtain the elevation data, Google Maps API to plot the route and Google Charts to draw the elevation profile.
Full details in the associated tutorial.
Here are a few web services that provide elevation data:
USGS Elevation Query Web Service
EarthTools
GeoNames
Also, this site can search each of them