Rank: 497 based on 168 downloads (last 30 days) and 1 file submitted
photo

Zohar Bar-Yehuda

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Zohar
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Jun 2012 Screenshot plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda google, wgs, map, wgs84, plot, mapping 168 25
  • 5.0
5.0 | 22 ratings
Comments and Ratings by Zohar View all
Updated File Comments Rating
22 Nov 2012 plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda

Amit, with the new scale=2 param which is used by default, you actually get a 1280x1280 image, which gives a much nicer rendering (though responds somewhat slower...)

15 Jul 2012 plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda

Kart - I think there is a problem with the API key mode. It seems like Google ignores it since the requests have no referrer field in the HTTP header. Will try investigating it for a solution.

26 Jun 2012 plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda

Scale is a great idea, and quite easy to implement. I'll try adding it when I have some time.

14 Jun 2012 plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda

Just noticed they changed the API and introduced the API key again.
It doesn't say what's the limit if you don't use any key, but from a quick test it looks like it's 400 per day (per IP I guess).

If you do get your own key, you can use up to 25,000 requests per day. I'll try to upload a new version soon with an easy way to put your own key.

14 Jun 2012 plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda

Hi Marco,

This function uses Google's Static Maps API, and is therefore perfectly legal. It's also limited to 1000 map requests per day as specified in the API. See:
https://developers.google.com/maps/documentation/staticmaps/

Comments and Ratings on Zohar's Files View all
Updated File Comment by Comments Rating
20 Apr 2013 plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda Alessandroni, Giacomo

26 Mar 2013 plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda Larry

Thanks, Seb. It is a wonderful tool.

25 Mar 2013 plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda Biass, Seb

My mistake, had an old version, updated one works like a charm!

25 Mar 2013 plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda Larry

It seems to be incompatible with pcolor. Matlab can plot with both pcolor and plot_google_map, but when the plot is saved as an image (as any format such as png), the background google map is gone.

25 Mar 2013 plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda Biass, Seb

Hi there,
Does anyone has any problem with that script recently? It was running smoothly until today.
??? Error using ==> imread at 387
Unable to determine the file format.

Error in ==> plot_google_map at 189
[M Mcolor] = imread(filename);

Top Tags Applied by Zohar
earth sciences, gauss 2d gaussian elliptical rotation rotated rotate, google, map, mapping
Files Tagged by Zohar View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Jun 2012 Screenshot plot_google_map Plot a google map on the background of the current figure using the Static Google Maps API. Author: Zohar Bar-Yehuda google, wgs, map, wgs84, plot, mapping 168 25
  • 5.0
5.0 | 22 ratings
09 Jan 2006 Screenshot Custom 2D Gauss Generates a customized 2D gauss Author: Thomas Dideriksen gauss 2d gaussian ell..., lu 31 6
  • 3.625
3.6 | 8 ratings

Contact us