Commit Graph

12 Commits

Author SHA1 Message Date
John Firebaugh
327af5176b Fix jshint 2014-02-09 18:48:52 -08:00
John Firebaugh
173108ae46 Style adjustments 2014-02-09 18:45:31 -08:00
tyr
90fd8b6e51 disable merge operation if at least one relation is incomplete
Incomplete multipolygons were harmed in the merge operation (which
relies on completely loaded relations to determine inner/outer
status for example).

This disables the operation and adds an appropriate tooltip.
2014-02-09 18:41:31 +01:00
tyr
422f76be77 merge-polygons: do not merge tags from all possible members
previously when merging polygons, all tags from all involved
members were merged into the resulting multipolygon. This includes
existing inner members with different tags or outer members that
are not directly involved in the merge operations.

Example: A forest (landuse=forest) containing some clearings
(landuse=meadow), whose outline is in part a river (waterway=river)
is merged with a new untagged area. The resulting multipolygon
would have falsely been tagged: landuse=forest;meadow + waterway=river
2014-02-09 17:53:55 +01:00
John Firebaugh
1e78ee5c87 Stricter jshint 2013-10-24 16:08:48 -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
56f8b9e4a9 Fixup after merge 2013-05-28 16:56:49 -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