550 Commits

Author SHA1 Message Date
John Firebaugh
de7fad5803 Move remaining XML stuff to Connection 2013-01-27 21:50:08 -05:00
Tom MacWright
1f3319f7b0 Add circularize action. Fixes #491 2013-01-24 22:52:19 -05:00
John Firebaugh
dd03544a00 Extract AddWay behavior 2013-01-24 18:04:40 -05:00
John Firebaugh
18c7267010 Extract Draw behavior
Fixed some bugs but introduced others.
2013-01-24 17:00:48 -05:00
Tom MacWright
ce78e34b34 Merge, rename to radial menu and remove pi 2013-01-24 13:11:52 -05:00
Tom MacWright
2b4b8cb5fe Merge pull request #468 from systemed/labels
Labels
2013-01-23 16:21:01 -08:00
Tom MacWright
8741e69c10 Add source switch 2013-01-23 17:19:19 -05:00
Ansis Brammanis
c337182791 Merge remote-tracking branch 'systemed/master' into labels 2013-01-23 17:00:30 -05:00
Tom MacWright
1a916ff506 Move keys to separate file, not working on osm.org yet. 2013-01-23 16:56:48 -05:00
Ansis Brammanis
3a48016e5f Merge remote-tracking branch 'systemed/master' into labels
Conflicts:
	js/id/util.js
2013-01-23 16:15:29 -05:00
John Firebaugh
d6d1709e7b Trying out radial menus for operations UI (#226) 2013-01-23 15:34:04 -05:00
John Firebaugh
292c916cb1 Converting some actions to entity methods
The guidelines here are:

Entity methods:
  return a modified entity
  don't necessarily maintain whole-graph consistency

Actions:
  return a modified graph
  always maintain whole-graph consistency
  call entity methods liberally
  generally don't call other actions
2013-01-23 12:40:27 -05:00
John Firebaugh
6f0b715c9f Include new file 2013-01-23 10:35:01 -05:00
Ansis Brammanis
0afb564435 Merge remote-tracking branch 'systemed/master' into labels
Conflicts:
	js/id/svg/lines.js
	js/id/svg/surface.js
2013-01-20 20:37:00 -05:00
John Firebaugh
2ee07a3b74 Add iD.actions.AddRelationMember 2013-01-18 14:44:29 -08:00
Ansis Brammanis
efd829e396 Merge branch 'master' into labels
Conflicts:
	js/id/renderer/map.js
	js/id/svg/lines.js
2013-01-18 17:19:12 -05:00
Ansis Brammanis
d70b5c3891 Add rtree to index.html 2013-01-18 17:01:41 -05:00
John Firebaugh
3eaf4a46e0 Add CSS classes for relation memberships
An entity that is a member of a relation will have the classes
`member`, `member-role-<member role>`, and `member-type-<relation type>`.

The first use of these classes is to avoid filling multipolygon
member areas.
2013-01-17 15:17:40 -08: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
Ansis Brammanis
9c007e24e3 Start work on label rendering 2013-01-17 15:14:22 -05:00
John Firebaugh
9a76b81125 First cut on multipolygon rendering 2013-01-17 11:57:30 -08:00
Tom MacWright
9b21fae8cb Validation. This adds basic validation and display to commits
Included is

* Untagged POIs, ways, areas
* Tags that suggest that lines should be areas
2013-01-17 14:46:39 -05:00
Tom MacWright
fd2ef2a78b Rename tooltip to tail, use tail in modes. 2013-01-17 12:07:26 -05:00
Tom MacWright
eecc6b14fb First shot at tooltips cc @samanbb 2013-01-16 18:39:12 -05:00
Tom MacWright
8def2e0999 Remove style and references to it 2013-01-16 13:07:30 -05:00
Tom MacWright
72afc6dcb9 Namespace UI components 2013-01-14 14:00:51 -05:00
John Firebaugh
acaaab5dc9 Extract iD.svg.Surface 2013-01-11 16:01:39 -08:00
John Firebaugh
7dc1945ee3 accuracy-handle -> midpoint 2013-01-11 14:54:51 -08:00
John Firebaugh
b8310e2d9f Move to iD.svg.TagClasses 2013-01-11 11:56:37 -08:00
John Firebaugh
809b73599c Merge points code into iD.svg.Points 2013-01-11 07:49:26 -08:00
John Firebaugh
6aa43f44d0 Split map rendering into some components 2013-01-11 07:04:40 -08:00
John Firebaugh
d5fbe32b1d Remove d3.jsonp (only wiki.js used it) 2013-01-10 21:00:24 -08:00
Ansis Brammanis
ce9a3af01c move save button to separate file 2013-01-10 15:14:37 -05:00
Ansis Brammanis
a2803ffdaa remove wiki.js from index.html 2013-01-10 13:44:36 -05:00
Ansis Brammanis
d1b3d0ce6d add key reference 2013-01-10 12:47:38 -05:00
Tom MacWright
b896115de3 Use dev server 2013-01-09 14:58:16 -05:00
Tom MacWright
eedc0fce9d Fast parent calculation. 2013-01-09 14:52:39 -05:00
Tom MacWright
44eeeeebaa Quick flash of no-docs for non-documented tag pairs. Fixes #340 2013-01-09 11:38:45 -05:00
Tom MacWright
3b5f6dd8bd Support images from the wiki, adds d3.jsonp extension. 2013-01-09 11:31:53 -05:00
Tom MacWright
a293691643 Move taginfo into service 2013-01-09 10:29:42 -05:00
Tom MacWright
85c8bdf0ff Refactor geolocate control 2013-01-08 12:14:05 -05:00
Tom MacWright
32dad42ec4 Refactor contributor listing into ui component, hide it when none are
around.
2013-01-08 11:38:59 -05:00
John Firebaugh
bcb4de4305 Reverse directional tags and roles when reversing a way
Reverse known direction dependent tags other than `oneway`.
We assume that correcting a backwards oneway is the primary
reason for reversing a way.

The following transforms are performed:

Keys:
      *:right=* ⟺ *:left=*
    *:forward=* ⟺ *:backward=*
   direction=up ⟺ direction=down
     incline=up ⟺ incline=down
        *=right ⟺ *=left

Relation members:
   role=forward ⟺ role=backward

In addition, numeric-valued `incline` tags are negated.

The JOSM implementation was used as a guide, but transformations that 
were of unclear benefit or adjusted tags that don't seem to be used
in practice were omitted.

References:
   http://wiki.openstreetmap.org/wiki/Forward_%26_backward,_left_%26_right
   http://wiki.openstreetmap.org/wiki/Key:direction#Steps
   http://wiki.openstreetmap.org/wiki/Key:incline
   http://wiki.openstreetmap.org/wiki/Route#Members
   http://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java

Fixes #299.
2013-01-07 16:26:56 -08:00
John Firebaugh
2d3ce6c125 Extract hover behavior 2013-01-07 08:34:37 -08:00
John Firebaugh
4a7bd26be8 Add 'Add Tag' button (#314), needs style
Fixes #281.
2013-01-03 23:16:34 -08:00
Tom MacWright
0cb5fbe227 Add success page. Fixes #126 2013-01-03 19:26:45 -05:00
John Firebaugh
5199e0f402 Externalize api06 URL 2012-12-30 14:03:45 -08:00
John Firebaugh
c927ff5b5d Rationalize vocabulary
- nodes
  - vertices
  - points
- ways
  - lines
  - areas
2012-12-29 09:18:05 -08:00
John Firebaugh
f7dfda46b2 Move Entity subclasses to separate files 2012-12-28 22:17:09 -08:00
John Firebaugh
6a4b75aa88 latedrag functionality was merged into iD.behavior.drag 2012-12-21 12:29:59 -08:00