John Firebaugh
9aab74c187
Test; simplify
2015-02-12 10:24:40 -08:00
Richard Fairhurst
c9162ea65e
Extend protection to multipolygon outer ways
2015-02-12 10:21:24 -08:00
Bryan Housel
90147b23db
Make copy handle circular and other degenerate Relations
2015-01-04 23:15:47 -05:00
Bryan Housel
f6d144c151
Improvements, and simplify code
...
* don't worry about deep copying, because immutability
* don't need `attrs` parameter which is usually empty
* don't worry about resetting `v` entity version
2015-01-01 22:49:44 -05:00
Bryan Housel
dae0d2d55e
Add entity copy methods
2014-12-28 22:00:55 -05:00
John Firebaugh
69af20e44d
Add mutating extent extend, for performance
2014-10-13 16:34:38 -07:00
John Firebaugh
7bbca76a20
Protect against relation loops ( fixes #2072 )
2014-01-02 17:42:57 -08:00
Adam Solove
2213b072dd
Clean up and test relation sorting code.
2013-12-10 22:39:37 -05:00
John Firebaugh
b383bfec1f
Fix unclosed area rendering ( fixes #1958 )
2013-11-13 17:41:57 -08:00
John Firebaugh
1e78ee5c87
Stricter jshint
2013-10-24 16:08:48 -07:00
John Firebaugh
8323c948a7
jshint fixes
2013-10-24 15:33:52 -07:00
John Firebaugh
26e38d7f8f
Return geometries rather than features in asGeoJSON
...
No code needs the tags, and it eliminates one level
of function calls in the d3 stream pipeline.
2013-10-16 09:40:01 -04:00
John Firebaugh
163c85bacb
Delete relations that become empty
...
Fixes #465
Fixes #1454
2013-08-27 12:27:11 -07:00
John Firebaugh
0a23c395ed
Cache GeoJSON transient
2013-08-26 15:20:32 -07:00
John Firebaugh
7215e91ff2
Ensure asGeoJSON returns winding orders expected by D3
2013-08-26 14:39:08 -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
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
1e8052182d
Merge pull request #1247 from systemed/create-multipolygon
...
ability to create multipolygons
2013-05-28 16:56:22 -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
2e4207f99b
Cache geometry
2013-05-17 15:31:27 -07:00
John Firebaugh
c50c3121d8
Make Graph#entity strict
...
Use Graph#hasEntity for the previous behavior.
2013-04-24 09:27:37 -07:00
Ansis Brammanis
05e63c2e17
expose relation.joinMemberWays
2013-04-03 15:53:02 -04:00
Ansis Brammanis
0de68c9e4a
handle extending multipolygons with multiway rings
2013-04-03 13:18:48 -04:00
John Firebaugh
68cc99c412
Disable Move operation on incomplete relations ( fixes #972 )
2013-03-11 16:43:06 -07:00
Tom MacWright
61d7ec45b5
Banish function ( style
2013-02-12 16:35:47 -05:00
John Firebaugh
843baa11c0
graph -> core
...
This matches how it's described in ARCHITECTURE.md.
2013-02-09 15:18:54 -08:00