Class: Datacite::Mapping::GeoLocationPointNode
- Inherits:
-
GeoLocationNode
- Object
- XML::Mapping::SingleAttributeNode
- GeoLocationNode
- Datacite::Mapping::GeoLocationPointNode
- Defined in:
- lib/datacite/mapping/geo_location_point.rb
Overview
XML mapping node for <geoLocationPoint/>
Instance Attribute Summary
Attributes inherited from GeoLocationNode
Instance Method Summary collapse
-
#initialize(*args) ⇒ GeoLocationPointNode
constructor
A new instance of GeoLocationPointNode.
Methods inherited from GeoLocationNode
#datacite_3?, #extract_attr_value, #set_attr_value
Constructor Details
#initialize(*args) ⇒ GeoLocationPointNode
Returns a new instance of GeoLocationPointNode.
99 100 101 102 103 104 |
# File 'lib/datacite/mapping/geo_location_point.rb', line 99 def initialize(*args) @geom_class = GeoLocationPoint @coord_elements = { latitude: 'pointLatitude', longitude: 'pointLongitude' }.freeze super end |