Commit Graph

4030 Commits

Author SHA1 Message Date
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
Tom MacWright 8eaf5afafb Add boat rental. Fixes #1617 2013-09-17 16:05:15 -04:00
Tom MacWright 03550ff6ff Brighter color for GPX paths. Fixes #1626 2013-09-17 15:53:28 -04:00
Tom MacWright e77e899e08 Merge pull request #1783 from g-k/save-commit-message
Save commit message on keyup
2013-09-17 11:14:37 -07:00
Tom MacWright c86a0763a2 Merge pull request #1794 from pnorman/ksj_discard
KSJ discard addition
2013-09-17 11:12:16 -07:00
Tom MacWright da4cc3dd38 Merge branch 'hlaw-unicodefix' 2013-09-17 10:46:55 -04:00
Tom MacWright 7ff9bf4a8f Cleanup style and null check 2013-09-17 10:46:49 -04:00
Tom MacWright 00348922d7 Merge pull request #1818 from tyrasd/preset-natural-scree-fell
add presets for natural=scree and natural=fell
2013-09-17 07:27:06 -07:00
tyr 832d96ee65 add presets for natural=scree and natural=fell 2013-09-17 12:19:36 +02:00
John Firebaugh 526ee1fc17 Merge pull request #1815 from pnorman/reddit_synonyms
Add terms for fish and chips and petrol
2013-09-16 01:49:03 -07:00
Paul Norman 0c41c06794 Add terms for fish and chips and petrol 2013-09-15 21:05:49 -07:00
Tom MacWright 56ab10ed3e Merge pull request #1790 from pnorman/gpx_help
Expand help text on GPX, providing a link to upload GPX files
2013-09-13 18:59:21 -07:00
Tom MacWright 796954ed19 Merge pull request #1809 from pnorman/en_dialects
Convert some remaining en-GB to en-US
2013-09-13 18:56:21 -07:00
Paul Norman 8180487c07 Convert some remaining en-GB to en-US
Also added alternete dialects to preset search terms

en-US and en-GB are close enough that there's value in having en-GB terms
in the en-US terms list.
2013-09-13 18:43:13 -07:00
Tom MacWright cbb1d5b728 Merge pull request #1798 from tyrasd/preset-amenity-vending_machine
add preset for amenity=vending_machine
2013-09-13 14:42:44 -07:00
Tom MacWright 422e2af32e Merge pull request #1785 from tyrasd/hiking-route-preset
add preset for route=hiking relations
2013-09-13 14:41:32 -07:00
Tom MacWright da866d6c42 Update string to match UI. Fixes #1803 2013-09-13 17:30:07 -04:00
Tom MacWright 7f41d8d90f Catch localStorage quota exception. Fixes #1807 2013-09-13 17:26:48 -04:00
Paul Norman 4cd7964687 Add KSJ2 tags to discard list
See http://lists.openstreetmap.org/pipermail/imports/2013-September/002133.html
2013-09-13 09:47:42 -07:00
Paul Norman 3ffa0ee10b Re-order discarded.json for readability
Also splits the import-related into groups by import
2013-09-13 09:32:52 -07:00
Greg Guthe 876547b1ea Fix saving comments 2013-09-09 19:22:50 -04:00