Class: Datacite::Mapping::GeoLocationPointNode

Inherits:
GeoLocationNode
  • Object
show all
Defined in:
lib/datacite/mapping/geo_location_point.rb

Overview

XML mapping node for <geoLocationPoint/>

Instance Attribute Summary

Attributes inherited from GeoLocationNode

#coord_elements, #geom_class

Instance Method Summary collapse

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