<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Dave,<br>
      <br>
      it is possible, try this:<br>
      url =
"<a class="moz-txt-link-freetext" href="https://maps.googleapis.com/maps/api/staticmap?center=40.714%2c%20-73.998&zoom=12&size=400x400&key=">https://maps.googleapis.com/maps/api/staticmap?center=40.714%2c%20-73.998&zoom=12&size=400x400&key=</a><font
        color="#ff0000">your_API_key</font>"<br>
      fn = getURL(url);<br>
      S imread(fn);<br>
      imshow(S);<br>
      <br>
      <br>
      Hope this helps.<br>
      <br>
      p/s: imread suppose to be able to read in the image direct from
      the web link, but due to a stupid mistake, it only works for http
      but not https for now, will fixed it. <br>
      <br>
      rgds,<br>
      CL<br>
      <br>
      <br>
      <br>
      <br>
      On 30/10/2017 6:36 AM, David Brant wrote:<br>
    </div>
    <blockquote
cite="mid:DB6P189MB029381D49934C0B4261CF429D8580@DB6P189MB0293.EURP189.PROD.OUTLOOK.COM"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <p class="MsoNormal">Hi</p>
      <p class="MsoNormal">Is it possible to access and plot google
        static maps in scilab using the IMREAD function in IPCV?</p>
      <p class="MsoNormal">The scilab examples I have come across
        require the path and filename.</p>
      <p class="MsoNormal">This can be done in matlab but I can’t manage
        to convert the code to scilab.</p>
      <p class="MsoNormal"><a
href="https://uk.mathworks.com/matlabcentral/fileexchange/27627-zoharby-plot-google-map"
          moz-do-not-send="true">https://uk.mathworks.com/matlabcentral/fileexchange/27627-zoharby-plot-google-map</a></p>
      <p class="MsoNormal">I would just like to display something simple
        and build from there.
      </p>
      Regards, Dave<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>