Issue 18233

Individual Count not output in Darwin Core Download

18233
Reporter: feedback bot
Assignee: mdoering
Type: Bug
Summary: Individual Count not output in Darwin Core Download
Priority: Blocker
Resolution: Fixed
Status: Resolved
Created: 2016-02-14 10:33:44.877
Updated: 2016-02-16 17:08:16.539
Resolved: 2016-02-15 11:47:51.542
        
        
Description: I have downloaded the Darwin Core version of the dataset "Zomerganzen - Summering geese management and population counts in Flanders, Belgium

The description of this dataset says it has population counts and there are counts in the individual records on the GBIF website. An example is below. However, the IndividualCount Column in the Darwin Core download is empty.

example http://www.gbif.org/occurrence/1229874890/verbatim


*Reporter*: Quentin Groom
*E-mail*: [mailto:quentin.groom@plantentuinmeise.be]]]>
    


Author: rdmpage
Created: 2016-02-14 12:11:01.661
Updated: 2016-02-14 12:12:22.215
        
Just to be clear, you mean that the "IndividualCount" column is empty in the Darwin Core Archive you get by downloading the occurrences from this page: http://www.gbif.org/occurrence/search?datasetKey=2b2bf993-fc91-4d29-ae0b-9940b97e3232 ?  The column is populated in both the external file http://data.inbo.be/ipt/archive.do?r=zomerganzen-events and also in the "verbatim.txt" file provided in the GBIF DwCA file (but not the "occurrence.txt" file).

Quentin, you may have seen the other issues related to individualCount and absence in general that are causing a few headaches at the moment, e.g. [POR-2864]
    


Author: kbraak@gbif.org
Created: 2016-02-15 10:54:40.447
Updated: 2016-02-15 10:54:40.447
        
Issue verified. Thanks for helping confirm it Rod.

Indeed individualCount isn't included in the interpreted records, despite being present in the verbatim records. This bug affects both the CSV and DwC-A downloads. 
    


Author: mdoering@gbif.org
Created: 2016-02-15 11:27:31.127
Updated: 2016-02-15 11:30:45.051
        
individual count should be interpreted by GBIF into a "proper" integer:
https://github.com/gbif/gbif-api/blob/master/src/main/java/org/gbif/api/model/occurrence/Occurrence.java#L87

But apparently we never implemented that interpretation routine.
Ill add it now

    


Author: mdoering@gbif.org
Comment: Basic interpretation implemented: https://github.com/gbif/occurrence/commit/a24e096e173fe64de9f6a160e2b3485a49260f7b
Created: 2016-02-15 11:39:37.608
Updated: 2016-02-15 11:39:37.608


Author: peterdesmet
Comment: +1
Created: 2016-02-16 17:08:16.539
Updated: 2016-02-16 17:08:16.539