# Turn coordinates /latitude/longitude into address

**URL:** https://community.glideapps.com/t/turn-coordinates-latitude-longitude-into-address/40944
**Category:** Ask for Help
**Created:** [April 20, 2022, 1:30pm UTC](https://community.glideapps.com/t/turn-coordinates-latitude-longitude-into-address/40944 "2022-04-20T13:30:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![campablexyz](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/campablexyz/32/36570_2.png) [@campablexyz](https://community.glideapps.com/u/campablexyz)
#### Post date: [April 20, 2022, 1:30pm UTC](https://community.glideapps.com/t/turn-coordinates-latitude-longitude-into-address/40944/1 "2022-04-20T13:30:18Z")

</div>

Hey guys 👋

Thanks for helping: I am creating airbnb for camping - available at [Campable](https://campable.glideapp.io/full)

Right now I display two options to showcase listings: list/card view as well as map view. Either way, when user presses the listing, they get to the details-card of the actual listing.

Now my problem:  
I use location-on when a property gets listed, so we auto-fetch the location. I like this solution because it is easy and aims for mobile use. However, I cannot directly display the actual address tied to the latitude/longitude combination. However, I would love to display the address in the card-view of listings as well as actual details-display of listing.

Does somebody have a solution for me here? Maybe some zap or something?

Thanks a lot for your help, community!

Let’s make the world campable together 🙂 ⛺

Johannes, campable.xyz founder

---

<div class="post-metadata">

### Author: ![JuanM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/juanm/32/33666_2.png) [@JuanM](https://community.glideapps.com/u/JuanM)
#### Post date: [April 20, 2022, 2:31pm UTC](https://community.glideapps.com/t/turn-coordinates-latitude-longitude-into-address/40944/2 "2022-04-20T14:31:22Z")

</div>

hi, yes there are options

1.- if you use google sheets there is a free option with appscript (I think I can check 500/day) perfect to start  
2.- if you use Glide Tables you can connect to the api for example google maps and perform the query directly (it involves creating a google cloud account with a credit card, “although it has free credits every month which many times satisfies the need”)

extra, te anexo el script para google appscript

With this you are creating a new formula for google sheets that would look like this, where A1 is the cell that contains “latitude” and B1 “longitude”  
=GOOGLEMAPS\_REVERSEGEOCODE(A1,B1)

“/  
const GOOGLEMAPS\_REVERSEGEOCODE = (latitude, longitude) =\> {  
const { results: [data = {}] = } = Maps.newGeocoder().reverseGeocode(  
latitude,  
longitude  
);  
return data.formatted\_address;  
};  
/”

I hope and serve you 😄

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [April 21, 2022, 1:04am UTC](https://community.glideapps.com/t/turn-coordinates-latitude-longitude-into-address/40944/3 "2022-04-21T01:04:16Z")

</div>

> [@Fetch Column](https://community.glideapps.com/t/fetch-column/31731/13):
>
> As promised: [[Glide: Fetch Column] ](https://www.youtube.com/watch?v=oWrs8bRNyS4)

You can use Nominatim to reverse-geocode it.

[https://nominatim.org/release-docs/develop/api/Reverse/](https://nominatim.org/release-docs/develop/api/Reverse/)
