Commit Graph

4486 Commits

Author SHA1 Message Date
John Firebaugh
173d379316 Merge branch 'bhousel-bhousel-fields' 2014-05-18 12:39:24 -07:00
John Firebaugh
f9520362c9 Use match rather than split 2014-05-18 12:39:15 -07:00
Bryan Housel
22c71bffca Update regexp, and remove trim from old key.. 2014-05-16 16:31:34 -04:00
Bryan Housel
846d637aa7 Trim tag keys, and prevent duplicate tag keys (#2043) 2014-05-16 12:37:02 -04:00
John Firebaugh
cb1972d76f Make field reference more flexible
Will need to support {"rtype": "restriction"} for turn
restriction field.
2014-05-14 17:22:24 -07:00
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
Martin Raifer
fee1ce7443 update maki sprite 2014-05-11 20:52:46 +02:00
John Firebaugh
a35990cfc7 Update translations 2014-05-03 13:12:24 -07: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
0eca063b8e Move building styles after everything.
(mostly so railway=station tagged building looks like a building)
2014-05-01 10:40:26 -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
e3eb244d3f Remove fuel fields from amenity=fuel for now, issue #1987 2014-05-01 10:09:32 -04:00
Bryan Housel
66a1464031 Avoid dashed stroke on railway areas and railway platforms.. 2014-05-01 01:16:33 -04:00
Bryan Housel
d46e34053e Add presets for gas station fuel types, EV charging station. 2014-04-30 22:11:07 -04:00
Bryan Housel
11f3336024 Add 'width', 'length', 'lit' for appropriate presets (cycleways, sidewalks, sports pitch, etc) 2014-04-30 16:29:48 -04:00
Bryan Housel
b55bb0e55d Move all structure styles (bridge/tunnel/embarkment) after way styles. 2014-04-30 14:03:51 -04:00
Bryan Housel
f3ee2664a1 Render embarkment/cutting with dashed casing 2014-04-30 14:01:46 -04:00
Bryan Housel
5bcd228f27 Remove tag-highway from tunnel css, so railway and waterway tunnels get some opacity too. 2014-04-30 10:23:04 -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
Bryan Housel
6202d01bf3 Add population field for various place presets 2014-04-29 22:23:55 -04:00
John Firebaugh
b2b3a34d6b Add landuse=churchyard preset 2014-04-26 16:46:30 -07:00
John Firebaugh
ce237a56b2 Add some fields for crossings 2014-04-26 16:01:58 -07:00
John Firebaugh
c2ac0518b8 Fix more fill opacities 2014-04-26 13:32:59 -07:00
John Firebaugh
75bf1cfd04 Fix typo 2014-04-26 12:50:12 -07:00
John Firebaugh
300c777280 Add shop=wine preset 2014-04-26 12:44:13 -07:00
John Firebaugh
154c9a72e4 Remove smoking field from generic building preset
Fixes #2209
2014-04-26 12:40:13 -07:00
John Firebaugh
afce1c9840 Merge pull request #2194 from bhousel/bhousel-operations
Improvements to circularize action
2014-04-23 19:11:40 -07:00
John Firebaugh
8417329039 Fix highway=pedestrian area fill 2014-04-23 18:58:23 -07:00
Bryan Housel
cab2705d57 Add tests for circularizing concave ways, straight line ways, Add isCircular() test.. 2014-04-23 16:11:42 -04: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
643db5af81 Use defaultcheck for building_area field (fixes #2111) 2014-04-15 16:33:43 -07: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
samanpwbb
7e68aef050 move fill color for icons to CSS 2014-04-15 13:58:27 -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
John Firebaugh
6dbd0166fc Improvements to land use preset display 2014-04-15 10:45:56 -07:00
John Firebaugh
c21bf171e7 Add preset for landuse=military 2014-04-15 10:31:29 -07:00
Bryan Housel
a2331f8c93 Add tests for iD.geo.cross and iD.way.isConvex 2014-04-15 00:26:53 -04:00
Bryan Housel
210e7889a1 Factor makeConvex into new method, fix missing comma and style issues.. 2014-04-14 23:54:03 -04:00
samanpwbb
a5f095bd9c add unique style for landuse military 2014-04-14 15:48:40 -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