Bryan Housel
734957f283
Handle variants of 'stop' and 'platform' when identifying PTv2 members
...
(closes #4946 )
2018-03-27 21:52:52 -04:00
Bryan Housel
f8bbb995ac
Properly split ways which are members of a via way turn restriction
...
(closes #4861 )
2018-03-10 15:20:20 -05:00
Bryan Housel
aa1565baf8
Avoid reordering stops and platforms in PTv2 routes
...
(closes #4864 )
2018-03-10 00:12:46 -05:00
Bryan Housel
4b1f8a8f61
Merge pull request #4768 from openstreetmap/advanced_intersection
...
Add support for complex intersection and via way restrictions
2018-03-01 01:46:30 -05:00
Bryan Housel
241159b547
Cleanup docs and tests for actionRestrictTurn / actionUnrestrictTurn
...
- actionRestrictTurn will no longer "infer" the turn type
- restrictionType *must* be passed in - this is ok because the only code
we use this action (restrictions.js) already has inferred the type
- this simplifies what the action actually does
- moved the tests from restrict_turn.js that were really just testing
the restriction type inferrence over to intersection.js
(and added a few more tests for iD.osmInferRestriction)
2018-02-28 23:55:59 -05:00
Bryan Housel
0cbff57dc9
Cycle through only_ turn restriction states
...
(re: #2622 )
2018-02-07 19:04:28 -05:00
Bryan Housel
dac753c4ea
Speedup hot code in actionDiscardTags
...
(re: #4611 )
2018-02-04 14:57:26 -05:00
Bryan Housel
c1378a141f
Add support for complex intersection and via way restrictions
2018-02-02 19:58:09 -05:00
Bryan Housel
7c918ba161
Allow Relation.replaceMember to optionally preserve duplicates
...
(closes #4696 )
2018-01-18 16:52:23 -05:00
Bryan Housel
be9bbd9271
Add tests for member ordering: node, way, relation
2018-01-18 15:21:38 -05:00
Bryan Housel
d6afd399fc
Revised and expanded actionSplit tests to cover route splitting
2018-01-18 14:34:34 -05:00
Bryan Housel
3be577d8db
However we fix actionAddMember, it needs to work for incomplete relations
2018-01-16 21:37:43 -05:00
Bryan Housel
be46e85ec0
Move insert way pairing code from osmJoinWays to actionAddMember
...
(tests for actionAddMember now passing!)
2018-01-16 17:41:14 -05:00
Bryan Housel
221158e918
WIP: Add insertHint to actionAddMember, actionSplit
2018-01-15 23:13:59 -05:00
Bryan Housel
03fa6e7be9
Add tryInsert option to osmJoinWays
2018-01-15 22:02:43 -05:00
Bryan Housel
075b85c81d
Apply reversal actions in actionJoin
...
(closes #4688 )
2018-01-14 14:49:57 -05:00
Bryan Housel
8f6cb207fc
Much expanded tests for osmJoinWays
2018-01-11 21:42:29 -05:00
Bryan Housel
07262fa711
Add tests for #4589
2018-01-09 23:57:44 -05:00
Bryan Housel
748abdb950
Code formatting
2018-01-09 17:46:15 -05:00
Bryan Housel
96afbbd785
Refactor vector math functions from geo.js to vector.js
2017-12-28 01:08:11 -05:00
Bryan Housel
117ad7d6b6
Transitionable actionMoveNode
2017-12-22 16:57:27 -05:00
Bryan Housel
6cfe7a2e71
When reversing a way, reverse traffic_signals:direction on child nodes
...
(closes #4595 )
2017-12-06 20:48:21 -05:00
Bryan Housel
b3842d97f4
Remove lodash from the test suite
...
(closes #4378 )
2017-10-18 14:37:39 -04:00
Bryan Housel
01bfc67ea5
After splitting a way, update all matching relation members
...
(closes #4140 )
2017-07-10 18:35:30 -04:00
Bryan Housel
8ce6b9e185
Merge branch 'transitioned-actions'
2017-01-04 17:26:22 -05:00
Bryan Housel
c2713c3a3f
For node-way merge, preserve original node if possible
...
(closes #3683 )
2016-12-31 02:01:13 -05:00
Bryan Housel
ef96fde38a
Add tests for transitioned orthogonalize action
2016-12-23 16:37:17 -05:00
Bryan Housel
5dde5aeded
Add tests for transitioned circularize action
2016-12-23 16:14:49 -05:00
Bryan Housel
f9c09c0648
Add tests for transitioned reflect action
2016-12-23 15:05:51 -05:00
Bryan Housel
723f0ca43a
Add tests for transitioned straighten action
2016-12-23 14:58:18 -05:00
Bryan Housel
37534aed0e
More cleanup of operations and post-paste behavior
...
* Support move, rotate, reflect, delete post paste on multiselection
* Improve text and error msgs for singular vs multi selections
* Move `disabled` checks from actions to operations
* Reproject center of rotation (closes #3667 )
* Cleanup tests
2016-12-21 23:58:13 -05:00
Bryan Housel
2267035dfb
Support both reflect long axis and reflect short axis operations
2016-12-16 13:59:33 -05:00
Bryan Housel
5a6045fd3d
Merge branch 'master' into Psigio-3375
2016-12-14 11:30:53 -05:00
Bryan Housel
9b7d79a3fe
Use live bound object for presets object, change context.presets() getter
2016-11-14 15:44:02 -05:00
Bryan Housel
f800e5afbc
Remove unnecessary window parameter to Context
2016-11-10 15:19:03 -05:00
Jon D
73f3069c59
Rename for consistency, add logic to prevent flip if all of object not visible and if linked to hidden. Label does not render for message when not enabled
2016-11-06 11:15:15 +00:00
Jon D
23990214be
Update to only flip around the vertical axis. Start renaming to 'reflect'
2016-11-06 10:48:48 +00:00
Jon D
d8f2ce3ed2
More tests
2016-11-05 20:54:43 +00:00
Jon D
c1edd0f3f9
Remove unused projection parameter
2016-11-05 20:39:43 +00:00
Jon D
1eaa284afe
More tests, add uniq operator
2016-11-05 20:36:34 +00:00
Jon D
05421e1c25
Start adding tests
2016-11-05 20:20:27 +00:00
Bryan Housel
b3a86329de
Use new name iD.actionReverse
2016-10-31 16:17:33 -04:00
Bryan Housel
b054eb31e9
Merge branch '3076' of https://github.com/Psigio/iD into Psigio-3076
2016-10-31 16:06:32 -04:00
Bryan Housel
07fa5fcc34
Refactor Entity, Node, Relation, Tags, Way from core to osm
2016-10-11 22:41:24 -04:00
Bryan Housel
87950fd472
Fix lib export, flatten names in tests and docs
2016-10-04 21:56:09 -04:00
Tom MacWright
9c902dbf71
geoCentroid -> polygonCentroid
2016-09-06 18:13:50 -04:00
Tom MacWright
a436bada3b
Circularize expects rawmercator
2016-09-03 20:10:38 -04:00
Tom MacWright
0236389611
Fix Circularize logic
2016-09-03 19:33:19 -04:00
Jon D
95ac00ffbf
Add tests for left/right reversal.
2016-08-25 06:54:54 +01:00
Jon D
3c57f7147f
Add tests for reverse way-node behaviour. No implementation yet.
2016-08-24 23:59:15 +01:00