test access tags
This commit is contained in:
@@ -76,7 +76,8 @@ def build_ways_from_table table
|
||||
tags.reject! { |k,v| v=='' }
|
||||
|
||||
# sort tag keys in the form of 'node/....'
|
||||
way_tags = {}
|
||||
way_tags = { 'highway' => 'primary' }
|
||||
|
||||
node_tags = {}
|
||||
tags.each_pair do |k,v|
|
||||
if k =~ /node\/(.*)/
|
||||
|
||||
@@ -7,4 +7,8 @@ class OSRMError < StandardError
|
||||
@code = code
|
||||
@msg = msg
|
||||
end
|
||||
|
||||
def to_s
|
||||
@msg
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user