bsed / ala

Automatically exported from code.google.com/p/ala
0 stars 0 forks source link

Species counts wrong in facets download #690

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Just switched the ALA4R specieslist code across to the biocache facets/download 
service as suggested by Adam & Natasha.

Looks like there's something dodgy with the Number.of.records counts.

e.g.:

http://biocache.ala.org.au/ws/occurrences/facets/download?wkt=POLYGON((138.6908 
-34.91425,138.7346 -34.91425,138.7346 -34.88739,138.6908 -34.88739,138.6908 
-34.91425))&facets=taxon_concept_lsid&lookup=true&count=true

gives a list of species with counts that start with 313, 313, 300, 289, ...

then this count sequence starts repeating at row 31, then again at row 61, etc

Original issue reported on code.google.com by antarcti...@gmail.com on 11 Jun 2014 at 10:32

GoogleCodeExporter commented 9 years ago
PS this service doesn't appear on the API page, probably needs adding

Original comment by antarcti...@gmail.com on 11 Jun 2014 at 10:35

GoogleCodeExporter commented 9 years ago
looks like a bug. well spotted.

Original comment by moyesyside on 11 Jun 2014 at 12:40

GoogleCodeExporter commented 9 years ago
I notice that this has been updated (counts now seem to be correct). But the 
returned fields now are only LSID and occurrence count, whereas previously this 
returned names and I think taxonomic classification info as well. Can these be 
reinstated pls?

Original comment by antarcti...@gmail.com on 10 Jul 2014 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by moyesyside on 17 Jul 2014 at 5:50

GoogleCodeExporter commented 9 years ago
At least the name?

Original comment by leebel...@gmail.com on 17 Jul 2014 at 11:28

GoogleCodeExporter commented 9 years ago
See the "lookup" parameter for this service.

Original comment by moyesyside on 18 Jul 2014 at 2:09