cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
RayRay
Level: Powered On

Convert latitude and longitude to address

Hi there, I have created a Flow with a Flic button to send me the latitude and longitude of my position to an excel file.

How can I generate a full address with zip code, city and street from latitude and longitude?

 

Regards,

Ray

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Convert latitude and longitude to address

Flow certainly has the capability to do so, you just need to use a map service API to do the conversion. There is a Bing Maps connector in preview that you may want to look into. I've used this API and it works great for mapping out coordinates based on longitude and latitude. I'm not sure if it works the other way around or not.

With that said, any map API with conversion ability should work, check out the official docs for creating a custom connector for a web API

Other links:

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Convert latitude and longitude to address

Flow certainly has the capability to do so, you just need to use a map service API to do the conversion. There is a Bing Maps connector in preview that you may want to look into. I've used this API and it works great for mapping out coordinates based on longitude and latitude. I'm not sure if it works the other way around or not.

With that said, any map API with conversion ability should work, check out the official docs for creating a custom connector for a web API

Other links:

View solution in original post

RayRay
Level: Powered On

Re: Convert latitude and longitude to address

thanks, after a few tries it worked then.

Community Support Team
Community Support Team

Re: Convert latitude and longitude to address

Hi @RayRay ,

 

Please consider using the Bing Map connector.

 

First, please create a connection by providing a Bing map API key:

https://docs.microsoft.com/en-us/bingmaps/getting-started/bing-maps-dev-center-help/getting-a-bing-m...

 

Second, set up the flow like below.

You may need to get the latitude and longtitude from the trigger with the following code:

 
triggerBody()['location']['coordinates']['latitude']
triggerBody()['location']['coordinates']['longitude']
 

1.PNG

 

Hope it could be a reference for you.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,247)