Bryan Housel
cad4c0090c
Refactor rotation code to geoRotate, add tests
2016-12-21 11:21:06 -05:00
Bryan Housel
f50e80d0b5
Refactor Intersection, Multipolygon from geo to osm
2016-10-11 23:09:27 -04:00
Bryan Housel
87950fd472
Fix lib export, flatten names in tests and docs
2016-10-04 21:56:09 -04:00
Bryan Housel
5f496f2020
Cleanup test html, alphabetize, make sure all tests run
2016-07-14 12:59:47 -04:00
Kushan Joshi
084ede853f
Add linting to spec/geo
2016-06-15 18:26:11 +05:30
Kushan Joshi
6ef52256f3
Migrating to lodash v4
2016-05-17 12:37:25 +05:30
Bryan Housel
c50a290cd1
Add iD.geo.Extent#rectangle
2016-02-08 17:15:30 -05:00
Bryan Housel
ef2b4271b7
Merge pull request #2809 from openstreetmap/conflicting-tags
...
Disable joining ways with conflicting tags
2015-10-20 23:06:35 -04:00
Bryan Housel
0aa899a580
Fix turn restrictions involving circular ways ( closes #2807 )
2015-10-20 22:52:39 -04:00
John Firebaugh
0517f8e2b3
When reversing tags for joins, include "oneway"
2015-10-18 13:29:16 -07:00
Bryan Housel
6d82ae4146
add iD.geo.Extent#contains
2015-02-06 13:56:51 -05:00
Bryan Housel
a2703f10c8
fix tests affected by change in equality testing re #2388
2014-10-28 21:49:31 -04:00
Bryan Housel
1f544e883b
bump chai to 1.9.2 and fix tests affected by change in equality testing
...
re #2388
2014-10-28 21:37:04 -04:00
John Firebaugh
69af20e44d
Add mutating extent extend, for performance
2014-10-13 16:34:38 -07:00
Bryan Housel
874a3e2ad6
disable Move and Rotate operations if area < 80% contained in the viewport
...
see #542 .
Also included:
1. DRY up code for "% contained in" extent testing.
2. If action.disabled() returns a better reason, show that instead of the too_large one.
2014-07-11 17:11:50 -04:00
John Firebaugh
8b6ce214a2
Initial support for only_* restrictions
2014-05-19 15:53:46 -07:00
John Firebaugh
6089a6aaea
Better solution for maintaining selection
2014-05-18 16:02:48 -07:00
John Firebaugh
9d5df793b5
Fix turn generation from ways that need splitting
2014-05-18 16:02:48 -07:00
John Firebaugh
573237e94e
Render U-turns
2014-05-18 16:02:48 -07:00
John Firebaugh
3d210ac3c1
Implement basic restriction toggling
2014-05-18 16:02:47 -07:00
John Firebaugh
26422d9c9a
Show ways in restriction editor as if they were split
2014-05-18 16:02:47 -07:00
John Firebaugh
f39ae89177
Render turns of selected way
2014-05-18 16:02:47 -07:00
Bryan Housel
1df54a700a
Disable circularize and orthogonalize operations when way is <80% contained in the viewport
2014-03-27 22:47:34 -04:00
John Firebaugh
14bfc52e33
Remove repetition of entity IDs in tests
...
There were several places where the key and entity id
didn't match up.
2013-10-31 15:57:47 -07:00
John Firebaugh
156aa90e27
Add more turn logic
2013-08-30 19:27:21 -07:00
John Firebaugh
ddd9e4e8cc
Make iD.actions.Join agnostic to selection order
...
This is accomplished by reusing iD.geo.joinMemberWays,
which was refactored, generalized, and renamed to joinWays.
2013-06-18 12:19:53 -07:00
John Firebaugh
33cf029d43
Extract and refactor iD.geo.joinMemberWays
2013-06-05 16:00:12 -07:00
John Firebaugh
1db99586c4
Render only new features when a data tile is loaded
2013-05-20 12:05:31 -07:00
Tom MacWright
e434cab107
Basic tests for padByMeters
2013-05-09 12:25:38 -04:00
John Firebaugh
d247962324
Handle incomplete relations in simpleMultipolygonOuterMember
2013-05-01 10:28:40 -07:00
John Firebaugh
5a2444b551
Extract and fix extent/intersection calculations
...
Extents are now [[min x, min y], [max x, max y]].
2013-01-17 14:27:01 -08:00