Commit Graph

4060 Commits

Author SHA1 Message Date
John Firebaugh
d1b4e04ee4 Don't add addr:housenumber=yes when applying Address preset (#1874) 2013-10-09 16:35:12 -07:00
John Firebaugh
20d3af5620 Ensure preset fields are consistently ordered (#1876) 2013-10-09 16:18:55 -07:00
John Firebaugh
7fb047a7ba Cleanup; set correct language for pasted wikipedia links 2013-10-09 16:03:17 -07:00
John Firebaugh
965fb47680 Preserve existing Wikipedia language (fixes #1868) 2013-10-09 15:36:28 -07:00
John Firebaugh
ba3b53846f Don't allow dragging of the map when the click starts in a button
Fixes #1869
2013-10-09 14:10:07 -07:00
John Firebaugh
411db160fe Prefer to render highway=* styles over railway=*
Fixes #1880
2013-10-09 14:02:55 -07:00
John Firebaugh
d8567dcc43 Merge pull request #1882 from pnorman/locksmith
Add a preset for a locksmith
2013-10-09 08:16:11 -07:00
Paul Norman
7b7d634928 Add a preset for a locksmith 2013-10-09 00:24:42 -07:00
John Firebaugh
340e455a9f Remove overflow: hidden from input elements
This triggered a rendering regression in Chrome 30,
and isn't useful anyway.

https://code.google.com/p/chromium/issues/detail?id=304210

Fixes #1879
2013-10-08 13:35:19 -07:00
John Firebaugh
51c67e14f9 Merge pull request #1873 from iandees/new-presets-1
Add observation tower preset
2013-10-07 14:25:43 -07:00
Ian Dees
9604511b59 Add observation tower preset. 2013-10-07 16:08:52 -05:00
John Firebaugh
6f9a9c90b8 1.2.1 2013-09-30 17:17:06 -07:00
John Firebaugh
e3dd3cc7c3 Update translations 2013-09-30 17:17:06 -07:00
John Firebaugh
16d3346147 Split only the line of a node shared by a line and an area 2013-09-30 16:54:03 -07:00
John Firebaugh
dfd0854314 Fix strict mode parse error and other style issues 2013-09-30 16:31:23 -07:00
John Firebaugh
44cd18aab5 Test with iD.js
Uglification can hide errors (#1865)
2013-09-30 16:20:16 -07:00
John Firebaugh
69689a59d5 Reuse iD.actions.AddMember 2013-09-30 16:19:36 -07:00
John Firebaugh
011dc140a3 Handle multipolygon corner case when splitting (fixes #1799) 2013-09-30 16:17:16 -07:00
John Firebaugh
9b8d4771b0 Don't automatically apply building tags to shop=car (fixes #1813) 2013-09-30 15:18:27 -07:00
John Firebaugh
47516bd650 Don't suggest adding a relation to itself (fixes #1820) 2013-09-30 15:14:20 -07:00
John Firebaugh
ecfe8ce943 Adjust the timing of localStorage saves
If localStorage writes were free, we'd want to just save
on every history change. Second best is to debounce the
write.

Writing on mode change is problematic; it sometimes happens
when not desired and sometimes doesn't happen when desired.

Fixes #1857.
2013-09-30 14:45:02 -07:00
John Firebaugh
17325fde83 Use generic access value as placeholder (fixes #1780) 2013-09-30 13:55:06 -07:00
John Firebaugh
37a77879c7 Filter on combobox value, not title (fixes #1836) 2013-09-30 12:45:20 -07:00
John Firebaugh
161a4e24a6 Parallelism 2013-09-30 10:37:59 -07:00
Minh Nguyễn
77c7091cf2 Show relation documentation for relation presets
See http://taginfo.openstreetmap.org/taginfo/apidoc#api_4_relation_wiki_pages

Fixes #1862.
2013-09-30 10:35:00 -07:00
John Firebaugh
30bf1cd87c Remove unused variables 2013-09-30 10:14:40 -07:00
Paul Mach
0e080b3ed6 Limit squaring to near square or near straight nodes 2013-09-29 13:44:30 -07:00
John Firebaugh
75b6ec746b Clean up 2013-09-29 07:55:59 -07:00
tyr
ce85e7faaf fix test case "does not delete tagged nodes" of iD.actions.Straighten
The nodes.sort() statement caused some trouble in older browsers
such as (FF 20, Chromium 25). Also, the straighten action should
conserve node order. Thus, the sorting made the test weaker than
it had to be.

This just removes the unnecessary sorting.
2013-09-29 07:47:46 -07:00
John Firebaugh
166bc5de5b Clean up 2013-09-29 07:46:45 -07:00
tyr
e8d637f2bb Add iD.geo.sphericalDistance
iD.geo.euclideanDistance should only be used for calculations of 
projected coordinates or display (pixel) coordinates.

iD.geo.sphericalDistance calculates approximate geographical 
distances, accounting for distortions at higher latitudes. This 
can be used for determining the nearest node (operations.Delete,
actions.Circularize) or relative length comparisons (actions.Split).
2013-09-29 07:45:04 -07:00
tyr
6afe3adfbe more clever splitting of closed ways
if a way is closed, iD needs to choose a second node to
split the way at.

This algorithm looks for a node that is both far away from
the initial node in terms of way segment length and nearby
in terms of beeline-distance. This assures that areas get
split on the most "natural" points (independent of the number
of nodes).

For example: bone-shaped areas get split across their waist-
line, circles across the diameter.
2013-09-29 07:43:20 -07:00
Paul Mach
be30344cfd Improve Circularize Action 2013-09-28 14:33:39 -07:00
John Firebaugh
e8b9d95e0f Merge pull request #1852 from paulmach/ortho-bugs
Orthononalize bug fixes
2013-09-27 22:29:57 -07:00
Paul Mach
3ac12a1e70 Orthononalize bug fixes 2013-09-27 22:24:32 -07:00
John Firebaugh
56f0bf3d70 Merge pull request #1849 from pnorman/patch-2
Add more tags to areas list
2013-09-26 14:07:58 -07:00
Paul Norman
e6aeba1f60 Add more tags to areas list
Keys added from osm2pgsql, excluded values from overpass turbo
2013-09-26 13:44:01 -07:00
John Firebaugh
bfef7962fe Add office to area list (fixes #1784) 2013-09-26 13:18:32 -07:00
John Firebaugh
5c9be37b1a Can I use iD offline? 2013-09-26 12:18:13 -07:00
John Firebaugh
9f355244cd Start FAQ 2013-09-26 12:14:55 -07:00
John Firebaugh
831f62fa0c 1.2.0 2013-09-26 10:18:31 -07:00
John Firebaugh
94db453ea3 Update translations 2013-09-26 10:10:19 -07:00
John Firebaugh
c0a2f11616 Update imagery 2013-09-25 15:47:11 -07:00
John Firebaugh
4728622d87 Don't auto-save intro tutorial edits
Fixes #1745
Fixes #1795
2013-09-25 15:32:56 -07:00
John Firebaugh
20c5209aad Update togeojson.js to 0.3.0 2013-09-25 15:01:04 -07:00
John Firebaugh
844c11df63 Clean up 2013-09-25 14:46:12 -07:00
SJohnson
0790cf7423 Added the ability to load points from gpx files and display on the map 2013-09-25 14:42:58 -07:00
John Firebaugh
690a04e538 Make straighten/orthogonalize act like a single operation
- Display only one or the other in the radial menu
- Rename "Orthogonalize" to "Square"
- Use "S" as shortcut for both

Refs #1839
2013-09-25 14:26:30 -07:00
Tom MacWright
d568e30cba Minor tweaks to style of test 2013-09-22 12:54:46 -04:00
Tom MacWright
8dbae6f146 Merge pull request #1831 from paulmach/issue-1826
Better orthogonalization of skinny quads. Fixes #1812
2013-09-22 09:53:24 -07:00