class Placemaker::PlaceDetails
container for one named place mentioned in the document
Public Instance Methods
confidence()
click to toggle source
confidence that the document mentions the place (range 1-10)
# File lib/placemaker/place_details.rb 23 def confidence 24 nested_node('confidence').to_i 25 end
match_type()
click to toggle source
type of match (0=text or text and coordinates, 1=coordinates only)
# File lib/placemaker/place_details.rb 13 def match_type 14 nested_node('matchType').to_i 15 end
place()
click to toggle source
Returns a Placemaker::Location
object as a container for place information.
# File lib/placemaker/place_details.rb 8 def place 9 Placemaker::Location.new(@nodeset.search('.//xmlns:place')) 10 end
weight()
click to toggle source
relative weight of the place within the document (range 1-100)
# File lib/placemaker/place_details.rb 18 def weight 19 nested_node('weight').to_i 20 end