Commit Graph

3001 Commits

Author SHA1 Message Date
Martin Raifer 4261fefc6e Fix inline tag help for fields that handle multiple tags
Some preset fields like the access-restriction field manage
multiple tags at once (access=*, foot=*, bicycle=*, …). Then
iD wasn't able to show inline help when clicking the ⓘ button.

This introduces a new parameter for these kind of fields:
`referenceKey` determines the tag key which should be used to
search taginfo documentation for.

Fixes #2222.
2014-05-11 21:02:25 +02:00
Bryan Housel 749d145f50 Access field should allow "yes" placeholders to be overridden (#2213) 2014-05-03 10:34:09 -04:00
Bryan Housel 004be4bb9a Access field should allow "yes" placeholders to be overridden (#2213) 2014-05-02 15:30:00 -04:00
Bryan Housel 14efaee004 Remove "designated" from the general access case (#2213) 2014-05-02 14:46:07 -04:00
Bryan Housel 21882299c7 Move building tag class before everything
(so railway=station tagged building looks like a building)
2014-05-01 10:38:52 -04:00
Bryan Housel f3ee2664a1 Render embarkment/cutting with dashed casing 2014-04-30 14:01:46 -04:00
Bryan Housel c289f33e86 Order building before other tag classes, so buildings always show as red 2014-04-30 00:01:56 -04:00
John Firebaugh afce1c9840 Merge pull request #2194 from bhousel/bhousel-operations
Improvements to circularize action
2014-04-23 19:11:40 -07:00
Bryan Housel d245121b19 Fix isConvex() to correctly test the angle that closes the way. 2014-04-23 14:12:20 -04:00
Bryan Housel 33782a3958 Require 2 uniq points for circularize. Handle 2 point case, where D3 centroid() fails. 2014-04-21 23:29:25 -04:00
John Firebaugh 95edc5ff03 Fix up defaultcheck field type
It now works as determinate checkbox, where a checked
state produces *=yes and an unchecked state produces no
tag.
2014-04-15 16:33:43 -07:00
John Firebaugh 7b958cc1eb Fix custom template prompt showing "undefined" 2014-04-15 15:55:52 -07:00
John Firebaugh 273b5e2f63 Fix fill colors 2014-04-15 15:41:57 -07:00
John Firebaugh c4bd57aa8c Update D3 to 3.4.6 2014-04-15 13:46:10 -07:00
John Firebaugh 1fb69f4865 Merge branch 'refs/heads/military-feature-fill' 2014-04-15 10:47:39 -07:00
John Firebaugh 27a948084e Get military fill to show up in Firefox 2014-04-15 10:47:31 -07:00
Bryan Housel 210e7889a1 Factor makeConvex into new method, fix missing comma and style issues.. 2014-04-14 23:54:03 -04:00
Bryan Housel 52f631f4a0 Coax concave ways to convex before circularizing.. 2014-04-10 15:26:31 -04:00
Bryan Housel b8303e3708 Add d3.geom.hull to d3.v3.js 2014-04-10 15:25:04 -04:00
Bryan Housel a928d4894d Add isConvex() to iD.Way.. 2014-04-10 11:00:13 -04:00
Bryan Housel 236e8413ec Add 2D cross product to iD.geo.. 2014-04-10 01:39:30 -04:00
John Firebaugh daa1980aac 1.3.9 2014-04-09 15:02:35 -04:00
Bryan Housel 4c0c078045 When circularizing a way, try to add inBetweenNodes to shared ways too.. 2014-04-07 22:42:34 -04:00
John Firebaugh 1fee019d72 Remember last custom tile layer (fixes #2094) 2014-04-07 19:19:53 -04:00
Bryan Housel a3a125187d preserve disconnect for lines, improve disconnect for shared nodes in areas.. 2014-04-01 17:22:48 -04:00
Bryan Housel 48dedb15ed Prevent a closed way from disconnecting itself.. 2014-03-30 22:49:19 -04:00
John Firebaugh c9d256c9c7 1.3.8 2014-03-28 11:56:18 -07:00
Bryan Housel 1df54a700a Disable circularize and orthogonalize operations when way is <80% contained in the viewport 2014-03-27 22:47:34 -04:00
John Firebaugh d6fa8c1e26 Support quartile scheme for any imagery source (fixes #2112) 2014-03-21 17:43:54 -07:00
John Firebaugh b51e5366cc Zoom to GPX after adding (#2144) 2014-03-21 17:34:46 -07:00
John Firebaugh cefa1d96f1 Correctly update UI after choosing GPX file (#2144) 2014-03-21 17:34:34 -07:00
Bryan Housel 9fade58d85 add picnic area stuff: firepit, picnic_table, bbq 2014-03-19 17:33:28 -04:00
Bryan Housel ea58b6d89c add 35 as an option in the maxspeed dropdown.. 2014-03-19 15:26:33 -04:00
John Firebaugh 8e96752039 barrier=fence shouldn't be an area (fixes #2158) 2014-03-16 22:05:18 -07:00
John Firebaugh 33242db40c 1.3.7 2014-02-25 16:01:56 -08:00
AndrewHain c9709e9207 remove addr:housename from presets
The [values](http://taginfo.openstreetmap.org/keys/addr%3Ahousename#values) of this rarely needed tag, which is prominent in the address presets, now have a lot of numbers and descriptive words in many different languages. Removing the preset means that new editors won’t fill this key with information useless to the key but can still add it through All tags if needed.  A similar thing happened when Potlatch put the designation tag into presets. Goes towards #1427 and #2124.
2014-02-25 15:55:05 -08:00
John Firebaugh f6b7acf9ed Remove conditional that's always true
The base graph never has any ownProperty entities.
2014-02-25 10:03:48 -08:00
tyr efd3223e0c extend history loading fix to deletions
Deleted objects need to be kept in the base of the history stack, too.

This also improves the respective unit tests.
2014-02-22 14:09:17 +01:00
tyr fc0a15e6c4 fix duplicate objects after restoring data from localStorage
This makes sure that the originals of changed entities get merged
into the base of the stack after restoring the data from JSON.
This is necessary, because the stack will only have elements for
the current viewport after a restart and previously *modified*
objects will now be falsely detected as *created* ones.

Also removed some ineffective code.
2014-02-21 10:01:26 +01:00
John Firebaugh 69960d75bd Use https where supported
Refs #2129
2014-02-19 09:40:22 -08:00
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 6c82b1beda 1.3.6 2014-02-05 10:07:52 -08:00
Paul Mach 4078d353b2 Bump threshold for Orthogonalize to 12 degrees 2014-01-16 12:06:54 -08:00
tyr bde045d30c allow the rotate operation also for closed multipolygon members
closes #1718
2014-01-15 10:50:49 -08:00
tyr b71c98cfca protect against relation loops, part 2. fixes #2096 2014-01-10 11:12:10 +01:00
John Firebaugh 949280b736 1.3.5 2014-01-08 17:59:26 -08:00
John Firebaugh 1561c366be Update OSM.org links 2014-01-08 16:29:00 -08:00