[API-users] API download using geometry

Markus Döring mdoering at gbif.org
Thu Feb 18 17:34:16 CET 2016

Hi Dag,
you seem to be the first person that issues such a large polygon filter.
It is actually causing a stackoverflow in our code.
I have filed a jira here and hope we can fix it some time soon:


On 18 Feb 2016, at 14:33, Dag Endresen <dag.endresen at gmail.com<mailto:dag.endresen at gmail.com>> wrote:

Hi all,

I am trying to download all occurrences inside the CAFF boundary area
following a request from the CAFF focal point in Norway. I have
converted the polygon to a Well Known Text object for use with the
GBIF API. (The WKT polygon looks fine when I test to open in QGIS).


My filter.json file is attached and looks like this (the polygon
definition is truncated here at (...) for the purpose as example):

 "notification_address": ["dag.endresen at gmail.com"],
50.81429697072722,179.600130309538514 50.798132663162107,180.0
50.834515997684633,-179.213664117412264 (...)
50.811745655072343,179.285633734761433 50.81429697072722))"

Error message:
Instantiation of [simple type, class
org.gbif.api.model.occurrence.predicate.WithinPredicate] value failed:
null (through reference chain:

It might possible to download all occurrence data north of 50 degrees
(southernmost edge of the CAFF area) - and cut to CAFF area offline.
But because this is more than 200 million records, I am very
interested to check if it is possible to filter using the CAFF
boundary polygon.


Best wishes

Dag Endresen
Node manager for GBIF Norway
ORCID: http://orcid.org/0000-0002-2352-5497

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gbif.org/pipermail/api-users/attachments/20160218/bc28cb9f/attachment.html>

More information about the API-users mailing list