get location name

Post your questions and help other users.

Moderator: Martin

Post Reply
akapelis
Posts: 41
Joined: 13 Jul 2016 20:51

get location name

Post by akapelis » 09 May 2017 11:56

Hi friends, is there a way to get the location or street name by google (or any other) maps?
Thanks for your help.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: get location name

Post by Martin » 11 May 2017 19:24

Hi,

You can use {location,locationformat} to get the address for the location stored in variable location. You can do this for example in action Notification on Screen or any other action that supports variables.

Regards,
Martin

akapelis
Posts: 41
Joined: 13 Jul 2016 20:51

Re: get location name

Post by akapelis » 12 May 2017 18:51

Martin wrote:Hi,

You can use {location,locationformat} to get the address for the location stored in variable location. You can do this for example in action Notification on Screen or any other action that supports variables.

Regards,
Martin
It was so simple :) thank you very much.

User avatar
Philip
Posts: 82
Joined: 08 Jun 2015 19:20
Location: Hampshire, UK

Re: get location name

Post by Philip » 13 Oct 2019 22:08

This has recently stopped working for me.

Instead of {location,locationformat} providing the street address, I now just get the latitude and longitude (e.g. my speech output used to say "Location is 123 High Street, Anytown" and it now says "Location is 1.234, 5.678").

Is anybody else experiencing this issue, or is it a problem local to my handset?
--
Philip

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: get location name

Post by Desmanto » 14 Oct 2019 03:37

Philip wrote:
13 Oct 2019 22:08
This has recently stopped working for me.

Instead of {location,locationformat} providing the street address, I now just get the latitude and longitude (e.g. my speech output used to say "Location is 123 High Street, Anytown" and it now says "Location is 1.234, 5.678").

Is anybody else experiencing this issue, or is it a problem local to my handset?
{location,locationformat} or {location,locationformat,multiline} is reverse geocoding, that requires internet connection. If your internet is limited or no connection, the script will not return any readable address.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Philip
Posts: 82
Joined: 08 Jun 2015 19:20
Location: Hampshire, UK

Re: get location name

Post by Philip » 14 Oct 2019 10:31

Thanks.

I do have an internet connection, but further testing has shown that the problem was being caused by Blokada (an ad blocking app).

UPDATE: I have found that whitelisting geomobileservices-pa.googleapis.com in Blockada allows the street address to be found.
--
Philip

Post Reply