Remove one more compass column; update polyline encoding tests
This commit is contained in:
parent
35c501c203
commit
8725e2f40d
@ -1,5 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
default: '--require features --tags ~@todo --tags ~@bug --tags ~@stress --tags ~@mokob',
|
default: '--require features --tags ~@todo --tags ~@bug --tags ~@stress',
|
||||||
verify: '--require features --tags ~@todo --tags ~@bug --tags ~@stress -f progress',
|
verify: '--require features --tags ~@todo --tags ~@bug --tags ~@stress -f progress',
|
||||||
jenkins: '--require features --tags ~@todo --tags ~@bug --tags ~@stress --tags ~@options -f progress',
|
jenkins: '--require features --tags ~@todo --tags ~@bug --tags ~@stress --tags ~@options -f progress',
|
||||||
bugs: '--require features --tags @bug',
|
bugs: '--require features --tags @bug',
|
||||||
|
@ -22,9 +22,7 @@ Feature: Retrieve geometry
|
|||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| from | to | route | geometry |
|
| from | to | route | geometry |
|
||||||
| a | c | ab,bc | _c`\|@_upzA_c`\|@_c`\|@_c`\|@_c`\|@ |
|
| a | c | ab,bc | _ibE_~cH_seK_seK |
|
||||||
| b | d | bc,cd | _gayB_yqwC_c`\|@_c`\|@_c`\|@_c`\|@ |
|
| b | d | bc,cd | _seK_hgN_seK_seK |
|
||||||
|
|
||||||
# Mind the \ before the pipes
|
# Mind the \ before the pipes
|
||||||
# polycodec.rb decode2 '_c`|@_upzA_c`|@_c`|@_c`|@_c`|@' [[1.0, 1.5], [2.0, 2.5], [3.0, 3.5]]
|
|
||||||
# polycodec.rb decode2 '_gayB_yqwC_c`|@_c`|@_c`|@_c`|@' [[2.0, 2.5], [3.0, 3.5], [4.0, 4.5]]
|
|
||||||
|
@ -23,13 +23,13 @@ Feature: Projection to nearest point on road
|
|||||||
|
|
||||||
Scenario: Projection onto way at high latitudes, 1km distance
|
Scenario: Projection onto way at high latitudes, 1km distance
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| from | to | route | compass | bearing | distance |
|
| from | to | route | bearing | distance |
|
||||||
| b | a | abc | SW | 225 | 1000m +-7 |
|
| b | a | abc | 225 | 1000m +-7 |
|
||||||
| b | c | abc | NE | 45 | 1000m +-7 |
|
| b | c | abc | 45 | 1000m +-7 |
|
||||||
| a | d | abc | NE | 45 | 1000m +-7 |
|
| a | d | abc | 45 | 1000m +-7 |
|
||||||
| d | a | abc | SW | 225 | 1000m +-7 |
|
| d | a | abc | 225 | 1000m +-7 |
|
||||||
| c | d | abc | SW | 225 | 1000m +-8 |
|
| c | d | abc | 225 | 1000m +-8 |
|
||||||
| d | c | abc | NE | 45 +-5 | 1000m +-8 |
|
| d | c | abc | 45 +-5 | 1000m +-8 |
|
||||||
|
|
||||||
Scenario: Projection onto way at high latitudes, no distance
|
Scenario: Projection onto way at high latitudes, no distance
|
||||||
When I route I should get
|
When I route I should get
|
||||||
|
Loading…
Reference in New Issue
Block a user