Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

on join page, limit places to the most relevant #16

Open
svevang opened this issue Oct 22, 2015 · 3 comments
Open

on join page, limit places to the most relevant #16

svevang opened this issue Oct 22, 2015 · 3 comments
Assignees

Comments

@svevang
Copy link
Member

svevang commented Oct 22, 2015

No description provided.

@svevang svevang changed the title limit places to the most relevant on join page, limit places to the most relevant Oct 22, 2015
@svevang
Copy link
Member Author

svevang commented Oct 22, 2015

sort by distance and category

@svevang svevang self-assigned this Oct 22, 2015
@svevang
Copy link
Member Author

svevang commented Nov 19, 2015

This is till open, since I never bothered to actually truncate the list of places. Currently it's useful to see even the non-relevant places to get a feel for the landscape.

@svevang
Copy link
Member Author

svevang commented Apr 18, 2016

This is sort of the under-the-hood adjunct to #41

Here's the current implementation:

  CASE category
  WHEN 1 THEN -- continent
    relevance := 0.35;
  WHEN 2 THEN -- country
    relevance := 0.45;
  WHEN 3 THEN -- region
    relevance := 0.45;
  WHEN 4 THEN -- county
    relevance := 0.5;
  WHEN 5 THEN -- locality
    relevance := 1;
  WHEN 6 THEN -- neighborhood
    relevance := 1;

wouldn't it be nice if this scale was continuous?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant