Ah, my apologies. I thought it seemed an unusual question.

My email client didn’t show the subject on my phone so I missed the “maps” bit which wasn’t in the message.

I did have a version at one point with that during dev. I’d expect it will be doable for a few combinations (3-5) or so. Please watch the github issue for progress.


From: API-users <api-users-bounces@lists.gbif.org> on behalf of Matthew Blissett <mblissett@gbif.org>
Sent: Friday, August 10, 2018 6:29:36 PM
To: api-users@lists.gbif.org
Subject: Re: [API-users] Multiple taxonKey values with maps API ?
 

Hi,

A tile for the western hemisphere showing:

House sparrows: http://api.gbif.org/v2/map/occurrence/density/0/0/0@1x.png?srs=EPSG:4326&bin=hex&taxonKey=5231190&style=purpleYellow-noborder.poly

Mackrel: http://api.gbif.org/v2/map/occurrence/density/0/0/0@1x.png?srs=EPSG:4326&bin=hex&taxonKey=8596&style=purpleYellow-noborder.poly

Both: http://api.gbif.org/v2/map/occurrence/density/0/0/0@1x.png?srs=EPSG:4326&bin=hex&taxonKey=5231190&taxonKey=8596&style=purpleYellow-noborder.poly

I think the both example is what Scott's asking for, and it isn't supported.

It is supported with an ad-hoc search, but these are usually much slower: http://api.gbif.org/v2/map/occurrence/adhoc/0/0/0@1x.png?srs=EPSG:4326&bin=hex&taxonKey=5231190&taxonKey=8596&style=purpleYellow-noborder.poly

I've made an issue for it: https://github.com/gbif/maps/issues/27 since it's not the first time this has been requested. The previous request was for different colours to be applied to each taxon, which is more complicated and different to just adding several taxa's occurrences together.

Cheers,

Matt

On 10/08/18 17:31, Tim Robertson wrote:
I’m not sure if this went unanswered but the API has supported that since the beginning Scott.

Or have I misunderstood something?
In haste,
Tim


From: API-users <api-users-bounces@lists.gbif.org> on behalf of Scott Chamberlain <myrmecocystus@gmail.com>
Sent: Friday, August 10, 2018 4:02:35 AM
To: api-users@lists.gbif.org
Subject: [API-users] Multiple taxonKey values with maps API ?
 
Hello!

Are there any plans to allow passing any of the primary parameters (taxonKey, datasetKey, country, publishingOrg, publishingCountry) more than once. e.g.

...?taxonKey=1&taxonKey=2

or comma separated. Perhaps up to some max number?

Or is there a good reason not to suppor that? Woud it lead to jobs that run too long on your servers?

Thanks! Scott


_______________________________________________
API-users mailing list
API-users@lists.gbif.org
https://lists.gbif.org/mailman/listinfo/api-users