[API-users] eventDate parameter in occurrence/search?

Christian Christian
Thu Oct 15 12:27:06 CEST 2015


Sorry, the link to the issue was missing:
[1] http://dev.gbif.org/issues/browse/POR-1508

Christian Gendreau
Software Developer
Global Biodiversity Information Facility (GBIF)
cgendreau at gbif.org
http://www.gbif.org

On 15/10/15 12:23, Christian Gendreau [GBIF] wrote:
> Hi,
>
> Thanks for reporting the issue.
>
> We recognize there are issues with the interpretation of some dates 
> due to improper handling of timezones, the issues are with the API[1] 
> and not the data. We will address those issues shortly but it will 
> require some time. In the meantime, we kindly ask you to continue to 
> use the date range query in order to get the expected results.
>
> We are sorry for any inconvenience this may have caused you.
>
> Kind regards,
>
> Christian Gendreau
> Software Developer
> Global Biodiversity Information Facility (GBIF)
> cgendreau at gbif.org
> http://www.gbif.org
>
> On 13/10/15 07:18, Kumiko Totsu wrote:
>> Hi all,
>>
>> I found a problem using 'eventDate' in the occurrence API. I could only
>> get results by range queries but not with a date.
>>
>> 14 results between 2014-03-10 and 2014-03-11
>> http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=2014-03-10,2014-03-11 
>>
>> 0 result on 2014-03-11 (It should be 14 results)
>> http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=2014-03-11 
>>
>> 0 result on 2014-03-10
>> http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=2014-03-10 
>>
>>
>> The example below is totally fine, so it seems that not all data have
>> this problem.
>>
>> 14 results between 2015-03-17 and 2015-03-18
>> http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=2015-03-17,2015-03-18 
>>
>> 14 results on 2015-03-18
>> http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=2015-03-18 
>>
>> 0 result on 2015-03-17
>> http://api.gbif.org/v1/occurrence/search?institutionCode=NIES&eventDate=2015-03-17 
>>
>>
>> Is there anything wrong with data or API?
>>
>> Cheers,
>>
>> Kumiko
>> --------------------------------------------------------
>> Kumiko Totsu
>> Center for Environmental Biology and Ecosystem Studies
>> National Institute for Environmental Studies, Japan
>> totsu.kumiko at nies.go.jp
>> --------------------------------------------------------
>>
>> _______________________________________________
>> API-users mailing list
>> API-users at lists.gbif.org
>> http://lists.gbif.org/mailman/listinfo/api-users
>>
>



More information about the API-users mailing list