Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location tagging #55

Closed
jace opened this issue Jul 24, 2013 · 6 comments
Closed

Location tagging #55

jace opened this issue Jul 24, 2013 · 6 comments

Comments

@jace
Copy link
Member

jace commented Jul 24, 2013

Hasjob should use location tagging instead of a freeform location text field. The Geonames webservice can be used to autocomplete location names:

http://ws.geonames.org/searchJSON?name_startsWith=<term>&countryBias=IN&featureClass=P&callback=<callback>

@miteshashar
Copy link
Contributor

If we are using jQuery-UI, there is an example on the autocomplete demo
page, which gives us code to quickly pick up and modify to our needs.

On Wednesday, 24 July 2013, Kiran Jonnalagadda wrote:

Hasjob should use location tagging instead of a freeform location text
field. The Geonames webservice can be used to autocomplete location names:

http://ws.geonames.org/searchJSON?name_startsWith=
&countryBias=IN&featureClass=P&callback=


Reply to this email directly or view it on GitHubhttps://github.com//issues/55
.

Regards,
Mitesh Ashar

@jace
Copy link
Member Author

jace commented Aug 6, 2013

The geonames.org service does not work with HTTPS. The certificate is for *.geonames.net, but that domain is for premium users and requires an API key. This means we'll need our own HTTPS-capable version of geonames after all.

@jace
Copy link
Member Author

jace commented Aug 6, 2013

Premium API starts at 40€ per year. http://www.geonames.org/commercial-webservices.html

@jace
Copy link
Member Author

jace commented Aug 6, 2013

The 40€ version isn't bad at all. It provides 100,000 API call credits (ie, 100k calls to the search endpoint). If that's not enough, the 80€ plan is 1 million credits. Using this is far cheaper than the developer time required to setup our own copy of the data.

@jace
Copy link
Member Author

jace commented Dec 22, 2013

Related issue in hascore.

@jace
Copy link
Member Author

jace commented Jun 12, 2014

Impemented in 8a07316, 419909e and c1f2c42.

@jace jace closed this as completed Jun 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants