# Expanding on location field

**URL:** https://meta.discourse.org/t/expanding-on-location-field/50501
**Category:** Feature
**Created:** [22 בספטמבר,‏ 2016,‏ 6:39pm UTC](https://meta.discourse.org/t/expanding-on-location-field/50501 "2016-09-22T18:39:29Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [22 בספטמבר,‏ 2016,‏ 6:39pm UTC](https://meta.discourse.org/t/expanding-on-location-field/50501/1 "2016-09-22T18:39:29Z")

</div>

I know this is probably plugin territory but was wondering if anyone had any thoughts on expanding the location function. We would like to make it easier for users to be able to interact with others in a close physical locality to others. We want to introduce a medium to allow people to be able to meet offline where they are but with the current functionality of location it’s only a text field so anyone could put anything in and without asking you don’t know if the person you are talking to online is near you or not.

Hope that makes sense

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [22 בספטמבר,‏ 2016,‏ 11:58pm UTC](https://meta.discourse.org/t/expanding-on-location-field/50501/2 "2016-09-22T23:58:05Z")

</div>

Can you expand a bit with a few actual use cases?

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [23 בספטמבר,‏ 2016,‏ 7:34pm UTC](https://meta.discourse.org/t/expanding-on-location-field/50501/3 "2016-09-23T19:34:52Z")

</div>

Hi Sam  
We run a forum for guys who want to lose weight. We have a number of initiatives running one of which is a number of football leagues around the UK - we encourage the guys to post away in the forum however unless the create or participate in a topic about that particular league many would not know where they are based.

Secondly we encourage guys to get out there and lose weight be it running, walking, cycling etc and a lot of guys including myself prefer to do it with others however unless you have a post up for each thing that’s going on and locations mentioned again you wouldn’t know if others around you.

Difficult to explain but hope it gives you more of an idea where I am coming from. Building location into a map or something would be fantastic. Would give better visual idea where people are from. Like I said I think it’s more of plugin territory but don’t know where to start with it.

Thanks  
Mike

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [24 בספטמבר,‏ 2016,‏ 1:40am UTC](https://meta.discourse.org/t/expanding-on-location-field/50501/4 "2016-09-24T01:40:30Z")

</div>

I like this idea but it is plugin territory for sure.

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [24 בספטמבר,‏ 2016,‏ 9:24am UTC](https://meta.discourse.org/t/expanding-on-location-field/50501/5 "2016-09-24T09:24:12Z")

</div>

Consider

- Ability to search location (and other profile fields) from the User page.

- Add feature similar to tags but for user profiles. Would allow some structure/consistency in naming

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [24 בספטמבר,‏ 2016,‏ 9:31am UTC](https://meta.discourse.org/t/expanding-on-location-field/50501/6 "2016-09-24T09:31:29Z")

</div>

> [@scombs](#):
>
> Ability to search location (and other profile fields) from the User page.

That would certainly be beneficial

---

<div class="post-metadata">

### Author: ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)
#### Post date: [24 בספטמבר,‏ 2016,‏ 9:37am UTC](https://meta.discourse.org/t/expanding-on-location-field/50501/7 "2016-09-24T09:37:01Z")

</div>

Just thinking how this might function as a plugin:

- I think you’d want the plugin using a geocoding service to turn the value of the location field into coordinates (and then storing that in another custom user field) which can then be used for all the good stuff
- That’d be nice and simple because it wouldn’t require any changes to the existing location field, but users might be too vague and just put ‘London’, rather than ‘London, UK’ and the geocoding service might mistakenly think a user is in London, Ontario
- However, if there was a map displayed on the user profile, the user could check they’ve been specific enough
- The alternative is to replace the Location field with a map which a user can drop a pin on
- Or, I guess, there could be a mixture of both, add a map to the user preferences which updates the Location field based on where the pin is dropped (using a reverse geocoding service) and have the map update if the Location field is updated

But however it happens, having each user’s location stored as a co-ordinate, rather than just a name, I think is the key to creating the good stuff like maps, or displaying users within 10 miles of me, or so on.

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [24 בספטמבר,‏ 2016,‏ 9:39am UTC](https://meta.discourse.org/t/expanding-on-location-field/50501/8 "2016-09-24T09:39:15Z")

</div>

Completely agree it would be educating the users on how to input the data so as to correctly map it. I guess having field for town and seperste option for country would be sufficient and then could map it from that?

---

<div class="post-metadata">

### Author: ![EmileKR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emilekr/32/151887_2.png) [@EmileKR](https://meta.discourse.org/u/EmileKR)
#### Post date: [16 בפברואר,‏ 2017,‏ 9:25am UTC](https://meta.discourse.org/t/expanding-on-location-field/50501/9 "2017-02-16T09:25:49Z")

</div>

it would be great for any type of communities that wants to have local meetups
