ProtD
80b7fd7f40
Allow to join more than two ways ( #649 )
2013-06-12 17:10:41 -07:00
John Firebaugh
7ec1222402
Try to insert relation members at a sensible index ( #1539 )
2013-06-05 16:00:53 -07:00
John Firebaugh
33cf029d43
Extract and refactor iD.geo.joinMemberWays
2013-06-05 16:00:12 -07:00
John Firebaugh
467d01d339
First pass at "Add to Relation" ( #1539 )
2013-06-05 11:22:00 -07:00
John Firebaugh
40526764bf
Test / fix ChangePreset action
2013-05-29 08:44:59 -07:00
John Firebaugh
f9f72be9c8
Extract iD.actions.ChangePreset
2013-05-28 17:41:26 -07:00
John Firebaugh
56f8b9e4a9
Fixup after merge
2013-05-28 16:56:49 -07:00
John Firebaugh
1e8052182d
Merge pull request #1247 from systemed/create-multipolygon
...
ability to create multipolygons
2013-05-28 16:56:22 -07:00
John Firebaugh
cac654e8ab
Add iD.actions.ChangeMember
2013-05-22 17:41:06 -07:00
John Firebaugh
1276672783
Add iD.actions.DeleteMember
2013-05-22 17:37:26 -07:00
John Firebaugh
affdc987e4
Rename removeMember -> removeMembersWithID
2013-05-22 17:28:51 -07:00
John Firebaugh
da9602795c
Don't allow deleting incomplete relations
...
This will fail with an "entity not found" error.
2013-05-16 16:43:41 -07:00
John Firebaugh
0ae54abdcc
Extract iD.actions.DiscardTags
2013-05-13 09:26:41 -07:00
John Firebaugh
4ffaba1def
Prefer to keep existing ways when joining ( fixes #1424 )
2013-05-07 12:34:04 -07:00
John Firebaugh
c50c3121d8
Make Graph#entity strict
...
Use Graph#hasEntity for the previous behavior.
2013-04-24 09:27:37 -07:00
John Firebaugh
781f540b3c
Add diagnostic for common sentry errors
2013-04-23 11:29:00 -07:00
Ansis Brammanis
05e63c2e17
expose relation.joinMemberWays
2013-04-03 15:53:02 -04:00
Ansis Brammanis
8470090d7c
add multipolygon creation tests
2013-04-03 15:08:03 -04:00
Ansis Brammanis
0de68c9e4a
handle extending multipolygons with multiway rings
2013-04-03 13:18:48 -04:00
Ansis Brammanis
62ee84c1a2
ability to create multipolygons
2013-04-03 10:56:14 -04:00
John Firebaugh
af7d003b88
Don't overload constructor parameters
2013-04-01 15:58:10 -07:00
John Firebaugh
79404c47d9
Multiselect control over disconnection ( #1220 )
2013-04-01 15:46:13 -07:00
John Firebaugh
93dd4a2658
Multiselect vertex/way to control splitting
2013-03-29 15:32:19 -07:00
John Firebaugh
2bd6178f07
Split on self-intersections
2013-03-29 15:32:19 -07:00
John Firebaugh
bbd4cb80b6
Split ways at intersections ( fixes #750 )
2013-03-29 15:32:19 -07:00
John Firebaugh
b1daf85cfd
Tooltips for disabled operations ( fixes #573 )
2013-03-29 12:29:07 -07:00
Ansis Brammanis
3384598c60
Add ability to disconnect self-intersecting ways
...
Fixes #1155
2013-03-26 17:46:32 -04:00
John Firebaugh
bc7b5908ba
Code style
2013-03-25 17:04:13 -07:00
Ian B
db2dc79e60
Refactor Orthogonalize
2013-03-23 21:20:05 +01:00
Ian B
c56aa25930
Orthogonalize three-node ways (addresses #1077 )
2013-03-23 16:22:08 +01:00
John Firebaugh
80b6e4325f
Circularize preserves direction ( fixes #1082 )
2013-03-19 16:42:30 -07:00
John Firebaugh
e40090b758
Fix circularize with > 12 vertices ( fixes #1054 )
2013-03-18 17:48:15 -07:00
Tom MacWright
29b6f34403
Prevent orthogonalization of <3 node ways. Fixes #776
2013-03-18 15:44:19 -04:00
John Firebaugh
4fa88acc85
Fix connecting adjacent vertices
...
Can't unconditionally delete the node; it may be a member
of other ways.
I didn't preserve the behavior of dragging a midpoint to
an adjacent node being a no-op. In general we don't try to
eliminate compound operations whose net result is a no-op;
I don't think it's important to do so for this special case.
The degenerate case of connecting the endpoints of a two-vertex
line now results in a point. This is what naturally resulted
from the code, and seems ok.
Fixes #983 .
2013-03-12 16:26:40 -07:00
John Firebaugh
68cc99c412
Disable Move operation on incomplete relations ( fixes #972 )
2013-03-11 16:43:06 -07:00
John Firebaugh
cb0e02d56f
Support merging point + line
2013-03-06 17:37:17 -08:00
Tom MacWright
e071c15579
Remove unused variables and arguments
2013-03-05 16:29:23 -05:00
John Firebaugh
b7894ceaf0
Calculate participating ways in AddMidpoint
...
Due to differenced redraw, midpoint.ways was getting stale,
so sometimes dragging a midpoint didn't add the new node to
all ways. Better to calculate participating ways when needed.
This also simplifies the code for adding a midpoint via double
click. It does make filtering midpoints on redraw a bit more
expensive, but a cursory profile didn't show it being a problem.
Fixes #763 .
2013-02-27 20:41:38 -08:00
Ansis Brammanis
4e6a3c322f
Merge branch 'master' of git://github.com/systemed/iD into rotate2
...
Conflicts:
index.html
test/index.html
2013-02-27 21:41:26 -05:00
Ansis Brammanis
404488c54a
Fix a couple of rotate bugs
2013-02-27 21:38:40 -05:00
John Firebaugh
78f6a00029
Fix moving multiple entities which share nodes
...
While here, implement moving multipolygons too.
2013-02-27 17:12:39 -08:00
John Firebaugh
7a1800fd68
Delete orphaned relation members
2013-02-27 16:32:52 -08:00
John Firebaugh
b751c1ece9
Simplify, fix spec
2013-02-27 16:32:26 -08:00
Ian B
9f5564508f
Add rotate shape operation (addresses #838 )
2013-02-25 21:09:41 +01:00
Tom MacWright
61d7ec45b5
Banish function ( style
2013-02-12 16:35:47 -05:00
John Firebaugh
f1079a644a
Fix relation role in Split ( #694 )
2013-02-08 20:44:14 -08:00
John Firebaugh
e05531ad6c
Fix circularize boundary cases ( fixes #494 )
...
There are still more boundary cases even farther out. But this is
probably sufficient for the real world.
2013-02-08 12:08:48 -08:00
John Firebaugh
d59320ee4b
Extract Way#replaceNode
2013-02-08 12:07:57 -08:00
Tom MacWright
5e328435e6
jshint
2013-02-07 16:58:38 -05:00
John Firebaugh
e1bc78871b
Handle entities that are already deleted ( fixes #672 )
2013-02-07 13:46:25 -08:00