Directional Destination Tags (#3061)

* cucumber test scenarios, #3027

* post review comments

* two tests are still failing

* fixed one test

* passing tests

* cleaner code refactor

* possible sceanrios for destination:ref:forward/backward

* added code for direction:ref:forward/backward, tests pass

* changelog

* store direction in variable

* added tags to taginfo

* fixed dumb error

* use boolean flags

* null pointer checks

* hopefully better null pointer checks
This commit is contained in:
Kajari Ghosh
2016-10-18 23:09:19 -04:00
committed by GitHub
parent f77a2474ea
commit 3f0f0e306b
6 changed files with 144 additions and 11 deletions
+20
View File
@@ -318,11 +318,31 @@
"object_types": [ "way" ],
"description": "Destination of road for navigation instructions, supplements name."
},
{
"key": "destination:forward",
"object_types": [ "way" ],
"description": "Destination and direction of road for oneways for navigation instructions, supplements name."
},
{
"key": "destination:backward",
"object_types": [ "way" ],
"description": "Destination and direction of road for oneways for navigation instructions, supplements name."
},
{
"key": "destination:ref",
"object_types": [ "way" ],
"description": "Destination of road for navigation instructions, supplements name."
},
{
"key": "destination:ref:forward",
"object_types": [ "way" ],
"description": "Destination and direction of road for oneways for navigation instructions, supplements name."
},
{
"key": "destination:ref:backward",
"object_types": [ "way" ],
"description": "Destination and direction of road for oneways for navigation instructions, supplements name."
},
{
"key": "junction",
"object_types": [ "way" ],