Class: Georeference::Point
- Inherits:
-
Georeference
- Object
- Georeference
- Georeference::Point
- Defined in:
- app/models/georeference/point.rb
Overview
The Georeference added by entering otherwise undocumented point coordinates, with an optional error radius.
Instance Method Summary collapse
Instance Method Details
#dwc_georeference_attributes ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'app/models/georeference/point.rb', line 4 def dwc_georeference_attributes h = {} super(h) h.merge!( georeferenceSources: "Curator entered point/radius data.", georeferenceRemarks: "A generic point georeference.", geodeticDatum: nil ) h[:georeferenceProtocol] = 'Created by entering point coordinates in a form, along with an optional error radius.' if h[:georeferenceProtocol].blank? h end |