Commit Graph

4050 Commits

Author SHA1 Message Date
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
Tom MacWright 6b4de86323 Merge pull request #1834 from kreed/presets
Add stop sign preset and backrest field
2013-09-22 09:52:37 -07:00
Christopher Eby cb21eb4b48 Add stop sign preset and backrest field 2013-09-22 10:35:38 -05:00
Paul Mach 76e0ef7c26 Better orthogonalization of skinny quads. Fixes #1812 2013-09-21 21:21:36 -07:00
Tom MacWright 0b17eb344a Build translation 2013-09-20 17:10:32 -04:00
Tom MacWright 27e3590add Merge pull request #1826 from paulmach/straighten
Add straighten operation and action
2013-09-20 14:04:23 -07:00
Paul Mach b8efb00cfc Add straighten way operation and action 2013-09-20 12:14:16 -07:00
Tom MacWright 3a57e26b5d Merge pull request #1822 from iandees/new-presets-1
Add a couple presets
2013-09-18 09:58:45 -07:00
Ian Dees 0f4df4ee6a Add a couple presets. 2013-09-18 11:38:32 -05:00
Tom MacWright ef124e5674 Merge pull request #1821 from pnorman/fuel_1816
Add types of fuel as alternate terms for amenity=fuel
2013-09-18 08:12:06 -07:00
Paul Norman 353ab5a214 Add types of fuel as alternate terms for amenity=fuel 2013-09-18 01:51:59 -07:00