perform a sanity check on which ways are used during routability tests

This commit is contained in:
Emil Tin
2012-02-18 15:52:45 +01:00
parent b897b5d0e2
commit 801490b9fc
2 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ def build_ways_from_table table
tags = row.dup
tags.delete 'forw'
tags.delete 'backw'
tags['name'] = "abcd#{ri}"
tags['name'] = "w#{ri}"
tags.reject! { |k,v| v=='' }
way << tags
osm_db << way