<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta content="text/html; charset=Windows-1252">
</head>
<body bgcolor="#FFFFFF">
<div id="compose-container" itemscope="" itemtype="https://schema.org/EmailMessage" style="direction:ltr">
<span itemprop="creator" itemscope="" itemtype="https://schema.org/Organization"><span itemprop="name"></span></span>
<div>
<div>
<div style="direction:ltr">Ah, my apologies. I thought it seemed an unusual question.</div>
<div><br>
</div>
<div style="direction:ltr">My email client didn’t show the subject on my phone so I missed the “maps” bit which wasn’t in the message.
</div>
<div><br>
</div>
<div style="direction:ltr">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.</div>
</div>
<div><br>
</div>
<div class="acompli_signature">Get <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> API-users <api-users-bounces@lists.gbif.org> on behalf of Matthew Blissett <mblissett@gbif.org><br>
<b>Sent:</b> Friday, August 10, 2018 6:29:36 PM<br>
<b>To:</b> api-users@lists.gbif.org<br>
<b>Subject:</b> Re: [API-users] Multiple taxonKey values with maps API ?</font>
<div> </div>
</div>
<div>
<p>Hi,</p>
<p>A tile for the western hemisphere showing:</p>
<p>House sparrows: <a class="moz-txt-link-freetext" href="http://api.gbif.org/v2/map/occurrence/density/0/0/0@1x.png?srs=EPSG:4326&bin=hex&taxonKey=5231190&style=purpleYellow-noborder.poly">
http://api.gbif.org/v2/map/occurrence/density/0/0/0@1x.png?srs=EPSG:4326&bin=hex&taxonKey=5231190&style=purpleYellow-noborder.poly</a></p>
<p>Mackrel: <a class="moz-txt-link-freetext" href="http://api.gbif.org/v2/map/occurrence/density/0/0/0@1x.png?srs=EPSG:4326&bin=hex&taxonKey=8596&style=purpleYellow-noborder.poly">
http://api.gbif.org/v2/map/occurrence/density/0/0/0@1x.png?srs=EPSG:4326&bin=hex&taxonKey=8596&style=purpleYellow-noborder.poly</a></p>
<p>Both: <a class="moz-txt-link-freetext" href="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">
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</a></p>
<p>I think the both example is what Scott's asking for, and it <a href="https://github.com/gbif/maps/blob/master/vectortile-server/src/main/java/org/gbif/maps/resource/Params.java#L69">
isn't supported</a>.</p>
<p>It <i>is</i> supported with an ad-hoc search, but these are usually much slower:
<a class="moz-txt-link-freetext" href="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">
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</a><br>
</p>
<p>I've made an issue for it: <a class="moz-txt-link-freetext" href="https://github.com/gbif/maps/issues/27">
https://github.com/gbif/maps/issues/27</a> 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.</p>
<p>Cheers,</p>
<p>Matt</p>
<div class="moz-cite-prefix">On 10/08/18 17:31, Tim Robertson wrote:<br>
</div>
<blockquote type="cite">
<meta content="text/html; charset=utf-8">
<div id="compose-container" itemscope="" itemtype="https://schema.org/EmailMessage" style="direction:ltr">
<span itemprop="creator" itemscope="" itemtype="https://schema.org/Organization"><span itemprop="name"></span></span>
<div>
<div>
<div style="direction:ltr">I’m not sure if this went unanswered but the API has supported that since the beginning Scott.
</div>
<div><br>
</div>
<div style="direction:ltr">Or have I misunderstood something? </div>
<div style="direction:ltr">In haste,</div>
<div style="direction:ltr">Tim</div>
</div>
<div><br>
</div>
<div class="acompli_signature">Get <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> API-users
<a class="moz-txt-link-rfc2396E" href="mailto:api-users-bounces@lists.gbif.org"><api-users-bounces@lists.gbif.org></a> on behalf of Scott Chamberlain
<a class="moz-txt-link-rfc2396E" href="mailto:myrmecocystus@gmail.com"><myrmecocystus@gmail.com></a><br>
<b>Sent:</b> Friday, August 10, 2018 4:02:35 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:api-users@lists.gbif.org">
api-users@lists.gbif.org</a><br>
<b>Subject:</b> [API-users] Multiple taxonKey values with maps API ?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hello!</div>
<div><br>
</div>
<div>Are there any plans to allow passing any of the primary parameters (taxonKey, datasetKey, country, publishingOrg, publishingCountry) more than once. e.g.
<br>
</div>
<div><br>
</div>
<div>...?taxonKey=1&taxonKey=2</div>
<div><br>
</div>
<div>or comma separated. Perhaps up to some max number?<br>
</div>
<div><br>
</div>
<div>Or is there a good reason not to suppor that? Woud it lead to jobs that run too long on your servers?<br>
</div>
<div><br>
</div>
<div>Thanks! Scott<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
API-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:API-users@lists.gbif.org">API-users@lists.gbif.org</a>
<a class="moz-txt-link-freetext" href="https://lists.gbif.org/mailman/listinfo/api-users">https://lists.gbif.org/mailman/listinfo/api-users</a>
</pre>
</blockquote>
<br>
</div>
</body>
</html>