-
Notifications
You must be signed in to change notification settings - Fork 124
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
Geonames labels #5493
Geonames labels #5493
Conversation
95a4156
to
1f77e22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm seeing an error when trying to run this.
PR #5533 fixes the issue where prevents canonicalize from returning the string version of the URI. This should unblock this PR. |
1f77e22
to
35dfbe8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good improvement to have the full location name. Great for disambiguation.
FYI... location doesn't work with Monographs (i.e. valkyrie works). But it didn't before either. A new issue needs to be opened.
35dfbe8
to
b9ab5a7
Compare
Removed configuration changes as they were unneeded. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will significantly improve the usefulness of the Location lookups.
Fixes #1065, #3269
Retrieves, indexes and displays the full location label
Previously when indexing the Based Near/Location field on works, only the city name was available as it was all that is available in the rdf data that was retrieved. This PR add a service that retrieves a full label from another Geonames endpoint via questioning authority, caching the results locally. That service is then used when creating the solr doc and rendering the edit form.
Geonames wants a username to use this service. This is defined in
config/initializers/hyrax.rb
asconfig.geonames_username = Qa::Authorities::Geonames.username = '{username}'
to set the user in Qa at the same time.Changes proposed in this pull request:
Guidance for testing, such as acceptance criteria or new user interface behaviors:
@samvera/hyrax-code-reviewers