Open gbif-portal opened 4 years ago
First-time user reports similar difficulty finding Kings County, New York, USA. Recognizing the numeric naming convention, I found it, but it's not in the short list of 10 suggestions that appear under the filter when typing in "Kings"…
I'm not sure what a good approach for this is.
In the API we can
clark nevada
should return the nevada case in stead of zero results. Similar when searching for e.g. Kings new york
as in the tweet reference where the user is unable to find Kings county in NYC (I'm unable to as well)king
returns United Kingdom
and Kingston
before exact match Township King
in CanadaIn the UI we can
king
will return the exact match "Township King
in Canada" as result nr 62I think the API improvements would have the largest impact on usability. And it would be useful for all users and future applications, not just the current iteration of the gbif.org website.
Searching GADM for Kings will return Kings county in New York - I just need to have a large limit.
But larger limits isn't a really good solution, it won't always work and it leaves it to the user to shift through the results. And so we see users trying to limit the results, but currently it doesn't work.
Include type in search
I have seen 3 users trying to limit their results using administrative level. Like "county".
But a search for Kings county will no give results.
Perhaps we could include type
and englishType
in the searched text? Probably with a lower boosting than names.
Include higher regions in search
I have seen 3 users trying to narrow their results using the higher regions. E.g. Kings new york
or Clark Nevada
or Marion Texas
.
But a search for Kings New York gives zero results as well.
If we included higherRegions this would work.
{
"id": "USA.33.24_1",
"name": "Kings",
"gadmLevel": 2,
"variantName": [],
"nonLatinName": [],
"type": ["County"],
"englishType": ["County"],
"higherRegions": [
{
"id": "USA",
"name": "United States"
},
{
"id": "USA.33_1",
"name": "New York"
}
]
}
No access to full GADM list with autosuggest
It was a silly way of discovering it, but I was trying to narrow the search down to Las Vegas's jurisdiction, which is Clark County (https://gadm.org/maps/USA/nevada/clark.html), but the autosuggested list doesn't extend to the letter N, so I get stopped at Mississippi.
Note that the list includes 'Clark' and 'Clarke', but continuing to type 'Clark C…" clears all suggestions from the filter, which is not quite how I'd expect it to work—I'd have expected all 'Clarke' suggestions to drop away, presumably allowing the Nevada one to appear in the list.
Github user: @kcopas User: See in registry System: Firefox 81.0.0 / Mac OS X 10.15.0 Referer: https://www.gbif.org/occurrence/search?occurrence_status=present&q= Window size: width 1546 - height 925 API log&_a=(columns:!(_source),index:'prod-varnish-',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'response:%3E499')),sort:!('@timestamp',desc))) Site log&_a=(columns:!(_source),index:'prod-portal-',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'response:%3E499')),sort:!('@timestamp',desc))) System health at time of feedback: CRITICAL