Comments (4)
Search params
An additional search parameter gadmGid ...
I too had imagined having a catch all GID param like that. The GIDs are unique as far as I know, it seems redundant to specify the level in search. It also has the benefit that I can search for say Denmark and Malmø as they are OR'ed (Similar to above example I believe).
Facets
As for facets then I'm in favour of both a facet=gadmGid (similar to facet=taxonKey) and a facet=gadmLevel2Gid (similar to facet=phylumKey)
Search by name
Keeping search by name is useful if we want to do suggests driven of ES for scoped portals.
It is then possible to do a search by name and facet by gadmGid and use those facets as suggestions. I isn't a high priority for now - but we loose that possibility if we do not include names in the index.
country vs gadm
Perhaps I do not appreciate the complexity, but I do not see any reason to do anything special with ISO country vs GADM country. They are different definitions and should live separate lives I would think.
from gbif-api.
Thanks.
Keeping search by name is useful if we want to do suggests driven of ES for scoped portals.
It is then possible to do a search by name and facet by gadmGid and use those facets as suggestions. I isn't a high priority for now - but we loose that possibility if we do not include names in the index.
Is that needed? We don't have a facet way to return kingdom names. We will provide a lookup service from GID→name, and the result can be cached indefinitely.
There are duplicate area names in neighbouring countries, e.g. there's a "Berg" municipality in both Norway and Sweden.
from gbif-api.
No I do not believe names are needed in the occurrence index - not with @fmendezh suggestion for an autocomplete where suggestions can be scoped geographically (only give me suggestions for locations within this GID). If so it would only be for the benefit of unstructured search ?q=Ringsted
from gbif-api.
This is ready in UAT.
from gbif-api.
Related Issues (20)
- API endpoint for the data validator HOT 1
- 'User' not allowed to create download with creator HOT 2
- species API - iucnRedListCategory endpoint returns 204 while other endpoints return no data
- searching literature by language
- Access most recent backbone version programatically HOT 1
- Should endpoint dataset/duplicate/ return nothing? HOT 1
- `techdocs.gbif.org`: Type mismatch for occurrence api HOT 2
- Registry API dataset endpoint has degraded pagination performance HOT 4
- Access to cited dataset DOIs in literature export HOT 1
- Refuse InPredicate with a `null` value
- Change Species API HOT 1
- Add new fields from the EML profile 1.3 to Dataset
- Examples with multiple predicates are invalid json in the documentation
- GBIF API requests: any rate limits? HOT 4
- wrong matchType in species/match api call HOT 8
- [feature-request]: Implement habitat as a field in class Event HOT 5
- questions about case & null values in occurrence api response facets
- `/species/{usageKey}/identifier` route returns nothing HOT 5
- Feature request: Added & published params to the Literature API search endpoint HOT 12
- details on 2024-07-17 (?) GBIF outage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gbif-api.