Re: [Scilab-users] Google Static Maps using IPCV imread function - help

2017-10-29 Thread Tan Chin Luh

Hi Dave,

it is possible, try this:
url = 
"https://maps.googleapis.com/maps/api/staticmap?center=40.714%2c%20-73.998&zoom=12&size=400x400&key=your_API_key";

fn = getURL(url);
S imread(fn);
imshow(S);


Hope this helps.

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.


rgds,
CL




On 30/10/2017 6:36 AM, David Brant wrote:


Hi

Is it possible to access and plot google static maps in scilab using 
the IMREAD function in IPCV?


The scilab examples I have come across require the path and filename.

This can be done in matlab but I can’t manage to convert the code to 
scilab.


https://uk.mathworks.com/matlabcentral/fileexchange/27627-zoharby-plot-google-map

I would just like to display something simple and build from there.

Regards, Dave


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Google Static Maps using IPCV imread function - help

2017-10-29 Thread David Brant
Hi
Is it possible to access and plot google static maps in scilab using the IMREAD 
function in IPCV?
The scilab examples I have come across require the path and filename.
This can be done in matlab but I can’t manage to convert the code to scilab.
https://uk.mathworks.com/matlabcentral/fileexchange/27627-zoharby-plot-google-map
I would just like to display something simple and build from there.
Regards, Dave
lat = [48.8708 51.5188 41.9260 40.4312 52.523 37.982];
lon = [2.4131 -0.1300 12.4951 -3.6788 13.415 23.715];
plot(lon,lat,'.r','MarkerSize',20)
plot_google_map
lat = [48.8708 51.5188 41.9260 40.4312 52.523 37.982];
lon = [2.4131 -0.1300 12.4951 -3.6788 13.415 23.715];
plot(lon,lat,'.r','MarkerSize',20)
plot_google_map
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] xclick bug on Mac OS ?

2017-10-29 Thread philippe
Le 29/10/2017 à 13:16, Philippe Dérogis a écrit :
>
> 
>   Yes It should be nice if you could register the bug in Scilab bug tracking 
> system. 

done : http://bugzilla.scilab.org/show_bug.cgi?id=15316

Best regards,

Philippe

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] xclick bug on Mac OS ?

2017-10-29 Thread Philippe Dérogis
Hi Samuel,

  Yes It should be nice if you could register the bug in Scilab bug tracking 
system. 

Sincerely,

Philippe.

> Le 28 oct. 2017 à 22:44, philippe  a écrit :
> 
> Le 28/10/2017 à 14:26, Philippe Dérogis a écrit :
>> Hi Philippe and Samuel,
>> 
>>   I experiment exactly the problem described by Philippe on my Mac
>> (MacBook Pro Retina 13 pouces running MacOS Sierra 10.12.6) with Scilab 6.0
>> I wrote to the mailing list on the 10 mai 2017 about that :
> 
> thanks for your feedback, so it is actually a bug that affect only Mac
> OS with scilab 6.0.0 . It would be nice if you report the bug on
> bugzilla ( http://bugzilla.scilab.org/ ) you need to create an account
> to report bugs. If you don't want to create an account tell me, I will
> report the bug , but it would be better than it comes from a Mac OS user.
> 
> 
> Best regards,
> 
> Philippe
> 
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users