Matthew Blissett wrote:
Hi Adriaan,

Could you give an example?

Well, I just started with the A, doing my iteration with "&country=NL" added to the http request and "-nl" addded to the filename. As you can see below, they all compare negative.

<http://lepidoptera.online/gbif/abraxas-grossulariata-occur-nl.png>
<http://lepidoptera.online/gbif/abraxas-grossulariata-occur.png>

<http://lepidoptera.online/gbif/abraxas-sylvata-occur-nl.png>
<http://lepidoptera.online/gbif/abraxas-sylvata-occur.png>

<http://lepidoptera.online/gbif/abrostola-tripartita-occur-nl.png>
<http://lepidoptera.online/gbif/abrostola-tripartita-occur.png>

<http://lepidoptera.online/gbif/abrostola-triplasia-occur-nl.png>
<http://lepidoptera.online/gbif/abrostola-triplasia-occur.png>

<http://lepidoptera.online/gbif/acasis-viretata-occur-nl.png>
<http://lepidoptera.online/gbif/acasis-viretata-occur.png>

<http://lepidoptera.online/gbif/acherontia-atropos-occur-nl.png>
<http://lepidoptera.online/gbif/acherontia-atropos-occur.png>

<http://lepidoptera.online/gbif/achlya-flavicornis-occur-nl.png>
<http://lepidoptera.online/gbif/achlya-flavicornis-occur.png>

<http://lepidoptera.online/gbif/acronicta-aceris-occur-nl.png>
<http://lepidoptera.online/gbif/acronicta-aceris-occur.png>

I stopped there, but could list a few hundred more ....

I iterate prcedurally

$tURL:="https://api.gbif.org/v2/map/occurrence/density/"+String($nz)+"/"+String($nx)+"/"+String($ny)+"@4x.png?"+$sProjection+$sStyle+"&taxonKey="+$nTaxonKey+$sCountry
$nHttpResponse:=HTTP Get($tURL;$uTile;$atHeaderNames;$atHeaderValues)

where $nz=7
$nx=65..65
$ny=41..43
$sStyle:="&style=classic.poly&bin=hex&hexPerTile=30"
$sCountry:="&country=NL" (or an empty string)
$sSuffix:="-nl" (or an empty string)
$sProjection:="srs=EPSG:3857"
$nTaxonKey comes from a database table, imported from the GBIF backbone

Regards,

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

Reply via email to