Issue 15019

Refactor api classes (occ and verbocc)

15019
Reporter: omeyn
Assignee: mdoering
Type: SubTask
Summary: Refactor api classes (occ and verbocc)
Priority: Major
Resolution: Fixed
Status: Resolved
Created: 2014-02-10 10:58:21.875
Updated: 2014-02-10 13:41:22.053
Resolved: 2014-02-10 13:41:22.013
        
Description: - occurrence fields need to match dwc as closely as possible
- verbatimOccurrence "fields" is renamed verbatimFields
- lat and long become decimalLatitude and decimalLongitude
- conscious decision to keep Accuracy (as a synonym for uncertainty) for coords, alt, and depth and to drop precision (since it's more or less uninteresting)
- note that coordinateAccuracy will be interpreted as a decimal degree from coordinateUncertaintyInMeters together with coordinatePrecision (see POR-1804)
- drop the field geodeticDatum but keep the getter which should return a static "WGS84"
- altitude becomes elevation, similarly elevationAccuracy
- in verbatimOccurrence fields becomes verbatimFields]]>
    


Author: mdoering@gbif.org
Comment: https://github.com/gbif/gbif-api/commit/32484707bb7767c5634498b752d23b3e450fd91e
Created: 2014-02-10 13:41:22.051
Updated: 2014-02-10 13:41:22.051