github-awards icon indicating copy to clipboard operation
github-awards copied to clipboard

[Feature request] Need finer grain locality support.

Open donutdan4114 opened this issue 9 years ago • 8 comments

Grouping results by city is not accurate enough. For example, the city "Manchester" exists in England, and there are many cities "Manchester" (36) in the United States.

Filtering by states/provinces/territories would be great.

donutdan4114 avatar Feb 26 '15 15:02 donutdan4114

+1, Noticed this for Birmingham, UK & US. This wouldn’t be a problem if we’d named American cities after something other than the Motherland, but then, naming things is hard ;)

NotBobTheBuilder avatar Feb 26 '15 15:02 NotBobTheBuilder

Good point !

First idea would be to add a state column to the DB and geocode again all locations. I'll also have a look at the results from Google Map API and OpenstreetMap for the state information.

vdaubry avatar Feb 26 '15 16:02 vdaubry

:+1: Yeah, Birmingham UK/US is a big one.

maxehmookau avatar Feb 27 '15 16:02 maxehmookau

Related: The #1 PHP developer in the city of Memphis, Tennessee, @mikelbring, is actually in Nebraska (per his GitHub profile).

screenshot 2015-03-01 10 44 27

screenshot 2015-03-01 10 48 42

jeremykendall avatar Mar 01 '15 16:03 jeremykendall

I was thinking of adding a suffix to city :

"Birmingham (UK)" "Birmingham (US)"

Both would come out in the search results and each one would have its own ranking. What do you think ?

vdaubry avatar Apr 07 '15 10:04 vdaubry

There are at least two places called "Birmingham" in the US, (one in Alabama, one in Michigan).

Why not use the state info? Is it not available, or something?

genehack avatar Apr 07 '15 14:04 genehack

Can this project deal with the condition which location string is City, Country (Regexp [^,],[^,])?

kuanyui avatar Apr 22 '15 08:04 kuanyui

Reverse geocoding is done by Google Maps API : https://developers.google.com/maps/documentation/geocoding/#ReverseGeocoding

Most of the times it's pretty accurate but of course it's not perfect.

Keep in mind that the location string on Github is a simple text field and there are over 1.5 millions people that filled their location on Github

The result if that each developer filled their location in a different way, we get a mix of all sort of things : Country, City, State, abbreviations, jokes, etc.

vdaubry avatar Apr 24 '15 09:04 vdaubry