mdoering / gbif-ecat

Automatically exported from code.google.com/p/gbif-ecat
0 stars 0 forks source link

Default kingdom Plantae is not included in classification #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
The highest taxon in the VASCAN checklist is the class Equisetopsida. It is the 
root for all taxa in our checklist, via parentNameUsageIDs.
We also provide the default value "Plantae" for the term kingdom for all taxa 
in our Darwin Core Archive.

What is the expected output? What do you see instead?
On the GBIF Checklist bank (http://ecat-dev.gbif.org/checklist/1016) and the 
GBIF data portal (http://testportal.gbif.org/species/browse/resource/13038), I 
expect to see:
1) Only "Equisetopsida" as the root taxon
OR
2) Only "Plantae" as the root taxon

Instead, both are listed as root taxa.

The additional variety root taxa is another issue, reported in issue 63.

Original issue reported on code.google.com by peter.de...@gmail.com on 31 Aug 2011 at 3:40

GoogleCodeExporter commented 8 years ago
Indeed both Plantae and Equisetopsida show up as root taxa, with Plantae being 
the parent to most taxa. Only 19 taxa are linked to Equisetopsida C. Aghard see 
http://ecat-dev.gbif.org/usage/100023390

Original comment by wixner@gmail.com on 6 Sep 2011 at 9:23

GoogleCodeExporter commented 8 years ago
Equisetopsida C. Aghard is the record that has "null" as parentNameUsageID - 
this prevents checklistbank from linking Equisetopsida to Plantae as it expects 
to find a record with sourceID=null. As this doesnt exist, Equisetopsida 
becomes root taxon itself. Although not perfect I think it is ok in this case 
as "null" should be an empty string instead.

There was a bug though that relinked all taxa to Plantae instead of keeping 
them attached to Equisetopsida. Ive fixed that one and gonna reindex VASCAN in 
a moment again (locally on my dev machine its looking fine already)

Original comment by wixner@gmail.com on 6 Sep 2011 at 10:37

GoogleCodeExporter commented 8 years ago
And Ive also tried to index a modified vascan dwca with null removed - and now 
we only got a single Plantae root taxon, voila!

Original comment by wixner@gmail.com on 6 Sep 2011 at 10:38

GoogleCodeExporter commented 8 years ago
Great! We're going to fix the null value for Equisetopsida: 
http://code.google.com/p/canadensys/issues/detail?id=743

Original comment by peter.de...@gmail.com on 6 Sep 2011 at 2:01