location from google maps to osmand

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
younesetre
Posts: 16
Joined: 29 Apr 2016 23:04

location from google maps to osmand

Post by younesetre » 04 May 2019 20:17

I need flow that allows to share the location of google maps in osmand.
my idea is to use send/received and query content but i don't no how extract data from query content

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

Re: location from google maps to osmand

Post by Desmanto » 04 May 2019 23:32

What location you want to share? Current location and named location usually don't have coordinate. While dropped pin at random place usually have coordinate that you can copy. To reverse the named place to coordinate, we have to use geocode API, which is limited.
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.

younesetre
Posts: 16
Joined: 29 Apr 2016 23:04

Re: location from google maps to osmand

Post by younesetre » 05 May 2019 07:12

"While dropped pin at random place usually have coordinate that you can copy"

that's what i'm looking for but i do not know how to create flow

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

Re: location from google maps to osmand

Post by Desmanto » 05 May 2019 16:11

Copy the coordinate from google maps. Use trigger clipboard changed, add condition app task running - google maps. true, copy the clipboard to variable and use it in the geocode start activity for osmand : viewtopic.php?f=6&t=7809
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.

younesetre
Posts: 16
Joined: 29 Apr 2016 23:04

Re: location from google maps to osmand

Post by younesetre » 05 May 2019 19:34

Thankx
with little modification I can share coordinate from maps or sms to osmand without installing APK.
You are the best and automagic is the best apk

Locked