Class: Java::OrgNeo4jGisSpatialOsm::OSMDataset

Inherits:
Object
  • Object
show all
Defined in:
lib/neo4j/spatial/osm.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject



12
13
14
# File 'lib/neo4j/spatial/osm.rb', line 12

def to_s
  layers.map{|l| l.name}.join(', ')
end

#way_nodesObject



15
16
17
# File 'lib/neo4j/spatial/osm.rb', line 15

def way_nodes
  all_way_nodes
end

#waysObject



18
19
20
21
# File 'lib/neo4j/spatial/osm.rb', line 18

def ways
  #all_way_nodes.map{|w| Neo4j::Spatial::OSMWay.new w}
  Neo4j::Spatial::OSMWays.new(all_way_nodes)
end