# Linking Place with specified Milage willing to travel

**URL:** https://community.glideapps.com/t/linking-place-with-specified-milage-willing-to-travel/77916
**Category:** Ask for Help
**Created:** [November 14, 2024, 5:06pm UTC](https://community.glideapps.com/t/linking-place-with-specified-milage-willing-to-travel/77916 "2024-11-14T17:06:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jswayze44](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@jswayze44](https://community.glideapps.com/u/jswayze44)
#### Post date: [November 14, 2024, 5:06pm UTC](https://community.glideapps.com/t/linking-place-with-specified-milage-willing-to-travel/77916/1 "2024-11-14T17:06:05Z")

</div>

I am trying to create and app with the premise of showing a certain user to a place with a specified " willing to travel distance"

Basically, when clicking on the place it would show Users that are within that specified distance.

New to this so sorry if this is a question already covered.

Thank you

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [November 14, 2024, 5:58pm UTC](https://community.glideapps.com/t/linking-place-with-specified-milage-willing-to-travel/77916/2 "2024-11-14T17:58:37Z")

</div>

I assume you have each user’s coordinates or addresses already entered into a column in the user table?

Is sign in required for the app?

Essentially it will need to recalculate distance against each user every time you select a location. For that to happen, a Distance column will be needed in the user table to calculate distance based on one selected place.

- I would first change the click action in your Places collection to a custom action that will first write the place coordinates to a column in the user profile.
- Then in your User table, add a Single Value column that populates that location across all user rows.
- Finally add a distance column to compare the distances between the user location and the single value column location.

With that you can add a filtered list to your you Place detail screen that only shows users within a certain distance and within the willing to travel distance.
