Search found 10 matches

by PaulDouBret
Mon Feb 22, 2021 10:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Geocoding issue
Replies: 25
Views: 18444

Re: Geocoding issue ==> SIM card issue?

Good morning to y'all

With Thierry and Elanor's help, I found the reason for the geocoding calls not to work.
I am connected to internet thru a 4G router (Huawei B818) and a new SIM card (issued Dec 20). That SIM card only has a IPv6 address and no IPv4 address . It seems to be the norm nowadays ...
by PaulDouBret
Fri Feb 19, 2021 3:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Geocoding issue
Replies: 25
Views: 18444

Re: Geocoding issue

Thansk Elanor

I will try all this over the weekend and come back to y'all on Monday

Thanks and best regards

Paul
by PaulDouBret
Fri Feb 19, 2021 2:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Geocoding issue
Replies: 25
Views: 18444

Re: Geocoding issue

Thierry,

Are you the Thierry who used to work with Hypercard??? Loooong time ago...
by PaulDouBret
Fri Feb 19, 2021 2:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Geocoding issue
Replies: 25
Views: 18444

Re: Geocoding issue

Yes, I remove the unnecessary lines as Thierry suggested. No change
I used the only two lines that Simon suggested. No change.
And my key works fine with launch or directly with the browser :mrgreen:

I also tried different addresses from my short App. And tried trough the message box too with one ...
by PaulDouBret
Fri Feb 19, 2021 1:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Geocoding issue
Replies: 25
Views: 18444

Re: Geocoding issue

Hi bogs and Thierry

Yes I am using the debugger, so I go step by step.
And the second call for "put URL..." was just for timing. When I remove these lines... no progress.

I tried the load command as bogs suggested. No difference. It looks like the URL does not respond...or respond empty.
I am ...
by PaulDouBret
Fri Feb 19, 2021 10:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Geocoding issue
Replies: 25
Views: 18444

Re: Geocoding issue

Hi guys

I managed to have some time on my Mac...

Changing the default browser to Firefox does not improve the App response.
So I created a new App, with just a few lines, just to test the geocoding part of the code and I discovered a few things:

the put URL command takes between 7 and 10 s to ...
by PaulDouBret
Thu Feb 18, 2021 11:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Geocoding issue
Replies: 25
Views: 18444

Re: Geocoding issue

Simon,

Yes, the JSON is as expected and is what I used to get. And what I get when running directly with Safari.

I am using macOS BigSur 11 2 1 and LC 9 6 1

liveme, I will try Firefox but I will be away from my Mac for a couple of days. So I'll resume posting the results next Monday.

Thanks to y ...
by PaulDouBret
Thu Feb 18, 2021 7:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Geocoding issue
Replies: 25
Views: 18444

Re: Geocoding issue

Yes, good idea, and yes I am aware of the limitations imposed by Google.

The App is used only by a small Volunteer Association (helping teaching sick children) and, thanks god, there are not so many "Customers" in our area.
The number of requests is a few per month, very far from the Google limit ...
by PaulDouBret
Thu Feb 18, 2021 4:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Geocoding issue
Replies: 25
Views: 18444

Re: Geocoding issue

Hi guys,

Thanks for your interest in my problem!
To try to answer all questions:
I am running my App on a Mac, only.
The code I am using is:

put "https://maps(dot)google(dot)apis(dot)com/maps/api/geocode/json?address=1+Place+du+Capitole+31000+Toulouse+France&sensor=false&key= my_Key " into ...
by PaulDouBret
Wed Feb 17, 2021 5:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Geocoding issue
Replies: 25
Views: 18444

Geocoding issue

Hi,
I am a LiveCode amateur and I have a problem that seems to have appeared recently.
A few weeks ago, everything was smooth and OK, but now, I don’t get any answer to my geocoding code line.

Using my usual Google geocoding line (I have the proper API key), https://maps...., returns empty when ...