Hi,
I want to query the GBIF Maps API in a mobile app and have 2 questions. I would appreciate your help very much.
The user shall type the name of for example a species, phylum etc. and then I want to load map tiles of occurrences. Via a filter menu, I also want to list kingdom, phyla, classes etc. as on the gbif.org/occurence/search page.
Which API do I have to use to get a list of taxonKeys
of phyla, classes etc according to the higher level that the user chooses via the filter menu? Or how to retrieve such lists?
Reading the documentation I just want to double check if the following approach would be good to get map tiles:
- First use the Species API and pass a species name (user input): https://api.gbif.org/v1/species?name=Aquila%20pomarina
- Get the
nubKey
which is thetaxonKey
2480505 from the response - Pass this
nubKey
as parameter to a Map API query:
https://api.gbif.org/v2/map/occurrence/density/{z}/{x}/{y}@2x.png?taxonKey= 2480505&basisOfRecord=MACHINE_OBSERVATION&years=2015,2017&bin=square&squareSize=128&style=purpleYellow-noborder.poly
Thanks in advance for any hints